home-config/home-configuration.scm

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