home-config/home-configuration.scm

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