home-config/home-configuration.scm

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