home-config/home-configuration.scm

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