home-config/home-configuration.scm

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