home-config/home-configuration.scm

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