home-config/home-configuration.scm

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