home-config/home-configuration.scm

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