home-config/home-configuration.scm

25f812f6d5ae76147292c19b406e29223c5a870e · 9.6 KB · 175 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 "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 ("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
150 ("waybar" ,(local-file "waybar" #:recursive? #t))
151 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
152 ("aerc" ,(local-file "aerc" #:recursive? #t))
153 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t))
154 ("nix" ,(local-file "nix-config" #:recursive? #t)) ))
155 (service home-files-service-type
156 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
157 (".ssh/config" ,(local-file "ssh/config"))
158 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
159 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
160 (".fonts" ,(local-file "fonts" #:recursive? #t))
161 (".gitconfig" ,(local-file "gitconfig"))
162 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
163 (".nix-channels" ,(local-file "nix-channels"))))
164 (service home-pipewire-service-type)
165 (service home-spotifyd-service-type)
166 (service home-dbus-service-type)
167 ;;; trying some changes
168 ;(template-files "."
169 ;'("spotify-player/app.toml"
170 ;;;
171 (service home-gpg-agent-service-type
172 (home-gpg-agent-configuration
173 (pinentry-program
174 (file-append pinentry "/bin/pinentry"))
175 (ssh-support? #t))) )))