home-config/home-configuration.scm

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