home-config/home-configuration.scm

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