home-config/home-configuration.scm

43ea80ea908a4c7070e09f70d4fc63acd34cdace · 6.9 KB · 127 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 "node"
90 "git-lfs"))
91 (list my-neovim)))
92
93 ;; Below is the list of Home services. To search for available
94 ;; services, run 'guix home search KEYWORD' in a terminal.
95 (services
96 (list (service home-bash-service-type
97 (home-bash-configuration
98 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
99 ("ls" . "ls -p --color=auto")
100 ("python" . "python3")))
101 (bashrc (list (local-file
102 "bashrc")))
103 (bash-profile (list (local-file
104 "bash_profile")))))
105 (service home-xdg-configuration-files-service-type
106 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
107 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
108 ("sway" ,(local-file "sway" #:recursive? #t))
109 ("hypr" ,(local-file "hypr" #:recursive? #t))
110 ("waybar" ,(local-file "waybar" #:recursive? #t))
111 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
112 ("aerc" ,(local-file "aerc" #:recursive? #t))
113 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
114 (service home-files-service-type
115 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
116 (".ssh/config" ,(local-file "ssh/config"))
117 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
118 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
119 (".fonts" ,(local-file "fonts" #:recursive? #t))
120 (".nix-channels" ,(local-file "nix-channels"))))
121 (service home-pipewire-service-type)
122 (service home-dbus-service-type)
123 (service home-gpg-agent-service-type
124 (home-gpg-agent-configuration
125 (pinentry-program
126 (file-append pinentry "/bin/pinentry"))
127 (ssh-support? #t))) )))