home-config/home-configuration.scm

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