home-config/home-configuration.scm

212056b9431fda33950dfc2f8042933ae4073bad · 8.0 KB · 143 lines raw

1 ;; This "home-environment" file can be passed to 'guix home reconfigure'
2 ;; to reproduce the content of your profile. This is "symbolic": it only
3 ;; specifies package names. To reproduce the exact same profile, you also
4 ;; need to capture the channels being used, as returned by "guix describe".
5 ;; See the "Replicating Guix" section in the manual.
6
7 (use-modules (gnu home)
8 (gnu packages)
9 (gnu packages vim)
10 (gnu packages gcc)
11 (gnu packages gnupg)
12 (gnu services)
13 (guix packages)
14 (guix gexp)
15 (gnu home services shells)
16 (gnu home services desktop)
17 (gnu home services gnupg)
18 (gnu home services)
19 (ryan-services pipewire)
20 (ryan-packages freedesktop)
21 (ryan-packages mozilla))
22
23 (define my-neovim
24 (package
25 (inherit neovim)
26 (native-inputs
27 (modify-inputs (package-native-inputs neovim)
28 (prepend gcc-12)))))
29
30 (home-environment
31 ;; Below is the list of packages that will show up in your
32 ;; Home profile, under ~/.guix-home/profile.
33 (packages (append (specifications->packages (list "bat"
34 "xdg-utils"
35 "abook"
36 "libnotify"
37 "fzf"
38 "waypipe"
39 "gnunet"
40 "ffmpeg"
41 "qrencode"
42 "binutils"
43 "gcc-toolchain"
44 "borg"
45 "restic"
46 "rsync"
47 "cloc"
48 "sc-im"
49 "pv"
50 "python-msgpack"
51 "libreoffice"
52 "flatpak"
53 "gnupg"
54 "lsof"
55 "pavucontrol"
56 "netcat"
57 "bind:utils"
58 "font-cns11643"
59 "font-google-noto-emoji"
60 "syncthing"
61 "imv"
62 "perl"
63 "tor"
64 "unzip"
65 "htop"
66 "curl"
67 "pandoc"
68 "texlive-bin"
69 "texlive-scheme-basic"
70 "texlive-txfonts"
71 "texlive-amsfonts"
72 "texlive-lm"
73 "texlive-lm-math"
74 "texlive-iftex"
75 "texlive-unicode-math"
76 "texlive-fontspec"
77 "texlive-xcolor"
78 "texlive-geometry"
79 "texlive-hyperref"
80 "texlive-parskip"
81 "texlive-etoolbox"
82 "zathura"
83 "zathura-pdf-mupdf"
84 "go"
85 "fzf"
86 "weechat"
87 "gimp"
88 "python"
89 "python:tk"
90 "file"
91 "python-lsp-server"
92 "kdenlive"
93 "sqlite"
94 "mpv"
95 "playerctl"
96 "aerc"
97 "tcpdump"
98 "pamixer"
99 "git"
100 "password-store"
101 "node"
102 "kanshi"
103 "git-lfs"))
104 (list my-neovim wl-mirror firefox-wayland-new)))
105
106 ;; Below is the list of Home services. To search for available
107 ;; services, run 'guix home search KEYWORD' in a terminal.
108 (services
109 (list (service home-bash-service-type
110 (home-bash-configuration
111 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
112 ("ls" . "ls -p --color=auto")
113 ("python" . "python3")))
114 (bashrc (list (local-file
115 "bashrc")))
116 (bash-profile (list (local-file
117 "bash_profile")))))
118 (service home-xdg-configuration-files-service-type
119 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
120 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
121 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
122 ("sway" ,(local-file "sway" #:recursive? #t))
123 ("hypr" ,(local-file "hypr" #:recursive? #t))
124 ("foot" ,(local-file "foot" #:recursive? #t))
125 ("waybar" ,(local-file "waybar" #:recursive? #t))
126 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
127 ("aerc" ,(local-file "aerc" #:recursive? #t))
128 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
129 (service home-files-service-type
130 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
131 (".ssh/config" ,(local-file "ssh/config"))
132 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
133 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
134 (".fonts" ,(local-file "fonts" #:recursive? #t))
135 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
136 (".nix-channels" ,(local-file "nix-channels"))))
137 (service home-pipewire-service-type)
138 (service home-dbus-service-type)
139 (service home-gpg-agent-service-type
140 (home-gpg-agent-configuration
141 (pinentry-program
142 (file-append pinentry "/bin/pinentry"))
143 (ssh-support? #t))) )))