home-config/home-configuration.scm

ca1dda2c86cd2d1e71a7deabbf980d1e004811c0 · 8.2 KB · 146 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 "bombadillo"
51 "python-msgpack"
52 "libreoffice"
53 "flatpak"
54 "gnupg"
55 "lsof"
56 "pavucontrol"
57 "netcat"
58 "bind:utils"
59 "font-cns11643"
60 "font-google-noto-emoji"
61 "syncthing"
62 "imv"
63 "perl"
64 "tor"
65 "unzip"
66 "htop"
67 "curl"
68 "pandoc"
69 "texlive-bin"
70 "texlive-scheme-basic"
71 "texlive-txfonts"
72 "texlive-amsfonts"
73 "texlive-lm"
74 "texlive-lm-math"
75 "texlive-iftex"
76 "texlive-unicode-math"
77 "texlive-fontspec"
78 "texlive-xcolor"
79 "texlive-geometry"
80 "texlive-hyperref"
81 "texlive-parskip"
82 "texlive-etoolbox"
83 "texlive-setspace"
84 "zathura"
85 "zathura-pdf-mupdf"
86 "go"
87 "fzf"
88 "weechat"
89 "gimp"
90 "python"
91 "python:tk"
92 "file"
93 "python-lsp-server"
94 "kdenlive"
95 "sqlite"
96 "mpv"
97 "qbittorrent"
98 "playerctl"
99 "aerc"
100 "tcpdump"
101 "pamixer"
102 "git"
103 "password-store"
104 "node"
105 "kanshi"
106 "git-lfs"))
107 (list my-neovim wl-mirror firefox-wayland-new)))
108
109 ;; Below is the list of Home services. To search for available
110 ;; services, run 'guix home search KEYWORD' in a terminal.
111 (services
112 (list (service home-bash-service-type
113 (home-bash-configuration
114 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
115 ("ls" . "ls -p --color=auto")
116 ("python" . "python3")))
117 (bashrc (list (local-file
118 "bashrc")))
119 (bash-profile (list (local-file
120 "bash_profile")))))
121 (service home-xdg-configuration-files-service-type
122 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
123 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
124 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
125 ("sway" ,(local-file "sway" #:recursive? #t))
126 ("hypr" ,(local-file "hypr" #:recursive? #t))
127 ("foot" ,(local-file "foot" #:recursive? #t))
128 ("waybar" ,(local-file "waybar" #:recursive? #t))
129 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
130 ("aerc" ,(local-file "aerc" #:recursive? #t))
131 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
132 (service home-files-service-type
133 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
134 (".ssh/config" ,(local-file "ssh/config"))
135 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
136 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
137 (".fonts" ,(local-file "fonts" #:recursive? #t))
138 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
139 (".nix-channels" ,(local-file "nix-channels"))))
140 (service home-pipewire-service-type)
141 (service home-dbus-service-type)
142 (service home-gpg-agent-service-type
143 (home-gpg-agent-configuration
144 (pinentry-program
145 (file-append pinentry "/bin/pinentry"))
146 (ssh-support? #t))) )))