home-config/home-configuration.scm

87fe3223816d9a3459ac99a0d7883645014af3f5 · 6.6 KB · 121 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
21 (define my-neovim
22 (package
23 (inherit neovim)
24 (native-inputs
25 (modify-inputs (package-native-inputs neovim)
26 (prepend gcc-12)))))
27
28 (home-environment
29 ;; Below is the list of packages that will show up in your
30 ;; Home profile, under ~/.guix-home/profile.
31 (packages (append (specifications->packages (list "bat"
32 "xdg-utils"
33 "abook"
34 "qrencode"
35 "binutils"
36 "gcc-toolchain"
37 "borg"
38 "python-msgpack"
39 "libreoffice"
40 "flatpak"
41 "gnupg"
42 "lsof"
43 "pavucontrol"
44 "bind:utils"
45 "font-cns11643"
46 "syncthing"
47 "perl"
48 "tor"
49 "unzip"
50 "alacritty"
51 "htop"
52 "curl"
53 "pandoc"
54 "texlive-base"
55 "texlive-txfonts"
56 "texlive-amsfonts"
57 "texlive-lm"
58 "texlive-lm-math"
59 "texlive-iftex"
60 "texlive-unicode-math"
61 "texlive-fontspec"
62 "texlive-xcolor"
63 "texlive-latex-geometry"
64 "texlive-hyperref"
65 "texlive-latex-parskip"
66 "texlive-etoolbox"
67 "zathura"
68 "zathura-pdf-mupdf"
69 "fzf"
70 "weechat"
71 "icedove-minimal"
72 "gimp"
73 "python"
74 "python:tk"
75 "file"
76 "python-lsp-server"
77 "kdenlive"
78 "sqlite"
79 "mpv"
80 "playerctl"
81 "aerc"
82 "tcpdump"
83 "pamixer"
84 "git"))
85 (list my-neovim)))
86
87 ;; Below is the list of Home services. To search for available
88 ;; services, run 'guix home search KEYWORD' in a terminal.
89 (services
90 (list (service home-bash-service-type
91 (home-bash-configuration
92 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
93 ("ls" . "ls -p --color=auto")
94 ("python" . "python3")))
95 (bashrc (list (local-file
96 "bashrc")))
97 (bash-profile (list (local-file
98 "bash_profile")))))
99 (service home-xdg-configuration-files-service-type
100 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
101 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
102 ("sway" ,(local-file "sway" #:recursive? #t))
103 ("hypr" ,(local-file "hypr" #:recursive? #t))
104 ("waybar" ,(local-file "waybar" #:recursive? #t))
105 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
106 ("aerc" ,(local-file "aerc" #:recursive? #t))
107 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
108 (service home-files-service-type
109 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
110 (".ssh/config" ,(local-file "ssh/config"))
111 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
112 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
113 (".fonts" ,(local-file "fonts" #:recursive? #t))
114 (".nix-channels" ,(local-file "nix-channels"))))
115 (service home-pipewire-service-type)
116 (service home-dbus-service-type)
117 (service home-gpg-agent-service-type
118 (home-gpg-agent-configuration
119 (pinentry-program
120 (file-append pinentry "/bin/pinentry"))
121 (ssh-support? #t))) )))