home-config/home-configuration.scm

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