home-config/home-configuration.scm

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