home-config/home-configuration.scm

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