home-config/home-configuration.scm

10c71dfa653ba4330632c966b3c5626bade3b7d4 · 7.5 KB · 136 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 "syncthing"
58 "imv"
59 "perl"
60 "tor"
61 "unzip"
62 "alacritty"
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 "node"
98 "git-lfs"))
99 (list my-neovim wl-mirror firefox-wayland-new)))
100
101 ;; Below is the list of Home services. To search for available
102 ;; services, run 'guix home search KEYWORD' in a terminal.
103 (services
104 (list (service home-bash-service-type
105 (home-bash-configuration
106 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
107 ("ls" . "ls -p --color=auto")
108 ("python" . "python3")))
109 (bashrc (list (local-file
110 "bashrc")))
111 (bash-profile (list (local-file
112 "bash_profile")))))
113 (service home-xdg-configuration-files-service-type
114 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
115 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
116 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
117 ("sway" ,(local-file "sway" #:recursive? #t))
118 ("hypr" ,(local-file "hypr" #:recursive? #t))
119 ("waybar" ,(local-file "waybar" #:recursive? #t))
120 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
121 ("aerc" ,(local-file "aerc" #:recursive? #t))
122 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
123 (service home-files-service-type
124 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
125 (".ssh/config" ,(local-file "ssh/config"))
126 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
127 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
128 (".fonts" ,(local-file "fonts" #:recursive? #t))
129 (".nix-channels" ,(local-file "nix-channels"))))
130 (service home-pipewire-service-type)
131 (service home-dbus-service-type)
132 (service home-gpg-agent-service-type
133 (home-gpg-agent-configuration
134 (pinentry-program
135 (file-append pinentry "/bin/pinentry"))
136 (ssh-support? #t))) )))