home-config/home-configuration.scm

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