home-config/home-configuration.scm

12e3af575860ca4cdbcef6fd2267ebd6befe0f49 · 8.6 KB · 153 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-services spotify)
21 (ryan-packages freedesktop)
22 (ryan-packages mozilla))
23
24 (define my-neovim
25 (package
26 (inherit neovim)
27 (native-inputs
28 (modify-inputs (package-native-inputs neovim)
29 (prepend gcc-12)))))
30
31 (home-environment
32 ;; Below is the list of packages that will show up in your
33 ;; Home profile, under ~/.guix-home/profile.
34 (packages (append (specifications->packages (list "bat"
35 "xdg-utils"
36 "abook"
37 "libnotify"
38 "fzf"
39 "waypipe"
40 "pulseaudio" ;only for pactl
41 "qpwgraph"
42 "gnunet"
43 "ffmpeg"
44 "qrencode"
45 "binutils"
46 "gcc-toolchain"
47 "borg"
48 "restic"
49 "rsync"
50 "cloc"
51 "sc-im"
52 "pv"
53 "bombadillo"
54 "python-msgpack"
55 "libreoffice"
56 "flatpak"
57 "gnupg"
58 "spotifyd"
59 "lsof"
60 "pavucontrol"
61 "netcat"
62 "bind:utils"
63 "font-cns11643"
64 "font-google-noto-emoji"
65 "syncthing"
66 "imv"
67 "perl"
68 "tor"
69 "unzip"
70 "htop"
71 "curl"
72 "pandoc"
73 "texlive-bin"
74 "texlive-scheme-basic"
75 "texlive-txfonts"
76 "texlive-amsfonts"
77 "texlive-lm"
78 "texlive-lm-math"
79 "texlive-iftex"
80 "texlive-unicode-math"
81 "texlive-fontspec"
82 "texlive-xcolor"
83 "texlive-geometry"
84 "texlive-hyperref"
85 "texlive-parskip"
86 "texlive-etoolbox"
87 "texlive-setspace"
88 "zathura"
89 "zathura-pdf-mupdf"
90 "go"
91 "fzf"
92 "weechat"
93 "gimp"
94 "python"
95 "python:tk"
96 "file"
97 "python-lsp-server"
98 "kdenlive"
99 "sqlite"
100 "mpv"
101 "qbittorrent"
102 "playerctl"
103 "aerc"
104 "tcpdump"
105 "pamixer"
106 "git"
107 "password-store"
108 "node"
109 "kanshi"
110 "git-lfs"))
111 (list my-neovim wl-mirror firefox-wayland-new)))
112
113 ;; Below is the list of Home services. To search for available
114 ;; services, run 'guix home search KEYWORD' in a terminal.
115 (services
116 (list (service home-bash-service-type
117 (home-bash-configuration
118 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
119 ("ls" . "ls -p --color=auto")
120 ("python" . "python3")))
121 (bashrc (list (local-file
122 "bashrc")))
123 (bash-profile (list (local-file
124 "bash_profile")))))
125 (service home-xdg-configuration-files-service-type
126 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
127 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
128 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
129 ("sway" ,(local-file "sway" #:recursive? #t))
130 ("hypr" ,(local-file "hypr" #:recursive? #t))
131 ("foot" ,(local-file "foot" #:recursive? #t))
132 ("spotify-player" ,(local-file "spotify-player" #:recursive? #t))
133 ("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
134 ("waybar" ,(local-file "waybar" #:recursive? #t))
135 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
136 ("aerc" ,(local-file "aerc" #:recursive? #t))
137 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
138 (service home-files-service-type
139 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
140 (".ssh/config" ,(local-file "ssh/config"))
141 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
142 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
143 (".fonts" ,(local-file "fonts" #:recursive? #t))
144 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
145 (".nix-channels" ,(local-file "nix-channels"))))
146 (service home-pipewire-service-type)
147 (service home-spotifyd-service-type)
148 (service home-dbus-service-type)
149 (service home-gpg-agent-service-type
150 (home-gpg-agent-configuration
151 (pinentry-program
152 (file-append pinentry "/bin/pinentry"))
153 (ssh-support? #t))) )))