home-config/home-configuration.scm

9026be364d5e7ec04c739bfbc5fcc20b03bddf43 · 10.0 KB · 180 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/fish_variables" ".config/fish/fish_variables")))
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 "git-lfs"))
127 (list my-neovim wl-mirror firefox-wrapped calcurse-fixed)))
128
129 ;; Below is the list of Home services. To search for available
130 ;; services, run 'guix home search KEYWORD' in a terminal.
131 (services
132 (list (service home-bash-service-type
133 (home-bash-configuration
134 ;(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
135 ; ("ls" . "ls -p --color=auto")
136 ; ("spt" . "spotify_player")
137 ; ("python" . "python3")))
138 (bashrc (list (local-file
139 "bashrc")))
140 (bash-profile (list (local-file
141 "bash_profile")))))
142 (service home-xdg-configuration-files-service-type
143 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
144 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
145 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
146 ("sway" ,(local-file "sway" #:recursive? #t))
147 ("hypr" ,(local-file "hypr" #:recursive? #t))
148 ("foot" ,(local-file "foot" #:recursive? #t))
149 ("fish/completions" ,(local-file "fish/completions" #:recursive? #t))
150 ("fish/conf.d" ,(local-file "fish/conf.d" #:recursive? #t))
151 ("fish/fish_plugins" ,(local-file "fish/fish_plugins"))
152 ("fish/functions" ,(local-file "fish/functions" #:recursive? #t))
153 ("fish/config.fish" ,(local-file "fish/config.fish"))
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 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t))
159 ("nix" ,(local-file "nix-config" #:recursive? #t)) ))
160 (service home-files-service-type
161 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
162 (".ssh/config" ,(local-file "ssh/config"))
163 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
164 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
165 (".fonts" ,(local-file "fonts" #:recursive? #t))
166 (".gitconfig" ,(local-file "gitconfig"))
167 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
168 (".nix-channels" ,(local-file "nix-channels"))))
169 (service home-pipewire-service-type)
170 (service home-spotifyd-service-type)
171 (service home-dbus-service-type)
172 ;;; trying some changes
173 ;(template-files "."
174 ;'("spotify-player/app.toml"
175 ;;;
176 (service home-gpg-agent-service-type
177 (home-gpg-agent-configuration
178 (pinentry-program
179 (file-append pinentry "/bin/pinentry"))
180 (ssh-support? #t))) )))