home-config/home-configuration.scm

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