home-config/home-configuration.scm

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