home-config/home-configuration.scm

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