home-config/home-configuration.scm

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