home-config/home-configuration.scm

ae349ed96bf2dda5dabeef009e48ec7d277af73d · 7.6 KB · 138 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 "gnunet"
40 "qrencode"
41 "binutils"
42 "gcc-toolchain"
43 "borg"
44 "restic"
45 "rsync"
46 "cloc"
47 "pv"
48 "python-msgpack"
49 "libreoffice"
50 "flatpak"
51 "gnupg"
52 "lsof"
53 "pavucontrol"
54 "netcat"
55 "bind:utils"
56 "font-cns11643"
57 "font-google-noto-emoji"
58 "syncthing"
59 "imv"
60 "perl"
61 "tor"
62 "unzip"
63 "htop"
64 "curl"
65 "pandoc"
66 "texlive-bin"
67 "texlive-scheme-basic"
68 "texlive-txfonts"
69 "texlive-amsfonts"
70 "texlive-lm"
71 "texlive-lm-math"
72 "texlive-iftex"
73 "texlive-unicode-math"
74 "texlive-fontspec"
75 "texlive-xcolor"
76 "texlive-geometry"
77 "texlive-hyperref"
78 "texlive-parskip"
79 "texlive-etoolbox"
80 "zathura"
81 "zathura-pdf-mupdf"
82 "fzf"
83 "weechat"
84 "gimp"
85 "python"
86 "python:tk"
87 "file"
88 "python-lsp-server"
89 "kdenlive"
90 "sqlite"
91 "mpv"
92 "playerctl"
93 "aerc"
94 "tcpdump"
95 "pamixer"
96 "git"
97 "password-store"
98 "node"
99 "git-lfs"))
100 (list my-neovim wl-mirror firefox-wayland-new)))
101
102 ;; Below is the list of Home services. To search for available
103 ;; services, run 'guix home search KEYWORD' in a terminal.
104 (services
105 (list (service home-bash-service-type
106 (home-bash-configuration
107 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
108 ("ls" . "ls -p --color=auto")
109 ("python" . "python3")))
110 (bashrc (list (local-file
111 "bashrc")))
112 (bash-profile (list (local-file
113 "bash_profile")))))
114 (service home-xdg-configuration-files-service-type
115 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
116 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
117 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
118 ("sway" ,(local-file "sway" #:recursive? #t))
119 ("hypr" ,(local-file "hypr" #:recursive? #t))
120 ("foot" ,(local-file "foot" #:recursive? #t))
121 ("waybar" ,(local-file "waybar" #:recursive? #t))
122 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
123 ("aerc" ,(local-file "aerc" #:recursive? #t))
124 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
125 (service home-files-service-type
126 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
127 (".ssh/config" ,(local-file "ssh/config"))
128 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
129 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
130 (".fonts" ,(local-file "fonts" #:recursive? #t))
131 (".nix-channels" ,(local-file "nix-channels"))))
132 (service home-pipewire-service-type)
133 (service home-dbus-service-type)
134 (service home-gpg-agent-service-type
135 (home-gpg-agent-configuration
136 (pinentry-program
137 (file-append pinentry "/bin/pinentry"))
138 (ssh-support? #t))) )))