home-config/home-configuration.scm

8dbf39bcaa3fda0c4b09f713ec8001a67dfd5134 · 8.7 KB · 154 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 ("spt" . "spotify_player")
121 ("python" . "python3")))
122 (bashrc (list (local-file
123 "bashrc")))
124 (bash-profile (list (local-file
125 "bash_profile")))))
126 (service home-xdg-configuration-files-service-type
127 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
128 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
129 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
130 ("sway" ,(local-file "sway" #:recursive? #t))
131 ("hypr" ,(local-file "hypr" #:recursive? #t))
132 ("foot" ,(local-file "foot" #:recursive? #t))
133 ("spotify-player" ,(local-file "spotify-player" #:recursive? #t))
134 ("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
135 ("waybar" ,(local-file "waybar" #:recursive? #t))
136 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
137 ("aerc" ,(local-file "aerc" #:recursive? #t))
138 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
139 (service home-files-service-type
140 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
141 (".ssh/config" ,(local-file "ssh/config"))
142 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
143 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
144 (".fonts" ,(local-file "fonts" #:recursive? #t))
145 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
146 (".nix-channels" ,(local-file "nix-channels"))))
147 (service home-pipewire-service-type)
148 (service home-spotifyd-service-type)
149 (service home-dbus-service-type)
150 (service home-gpg-agent-service-type
151 (home-gpg-agent-configuration
152 (pinentry-program
153 (file-append pinentry "/bin/pinentry"))
154 (ssh-support? #t))) )))