home-config/home-configuration.scm

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