home-config/home-configuration.scm

fa5aee533c50ccbdab96c1d27fe71edf074a7c68 · 9.0 KB · 162 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-services spotify)
21 (ryan-config utils)
22 (ryan-packages freedesktop)
23 (ryan-packages calcurse)
24 (ryan-packages mozilla))
25
26 (define my-neovim
27 (package
28 (inherit neovim)
29 (native-inputs
30 (modify-inputs (package-native-inputs neovim)
31 (prepend gcc-12)))))
32
33 (home-environment
34 ;; Below is the list of packages that will show up in your
35 ;; Home profile, under ~/.guix-home/profile.
36 (packages (append (specifications->packages (list "bat"
37 "xdg-utils"
38 "abook"
39 "libnotify"
40 "fzf"
41 "waypipe"
42 "pulseaudio" ;only for pactl
43 "qpwgraph"
44 "gnunet"
45 "ffmpeg"
46 "qrencode"
47 "binutils"
48 "gcc-toolchain"
49 "borg"
50 "restic"
51 "rsync"
52 "cloc"
53 "sc-im"
54 "pv"
55 "bombadillo"
56 "python-msgpack"
57 "libreoffice"
58 "flatpak"
59 "gnupg"
60 "spotifyd"
61 "lsof"
62 "pavucontrol"
63 "netcat"
64 "bind:utils"
65 "font-cns11643"
66 "font-google-noto-emoji"
67 "syncthing"
68 "taskwarrior"
69 "tasksh"
70 "imv"
71 "perl"
72 "tor"
73 "unzip"
74 "htop"
75 "curl"
76 "pandoc"
77 "texlive-bin"
78 "texlive-scheme-basic"
79 "texlive-txfonts"
80 "texlive-amsfonts"
81 "texlive-lm"
82 "texlive-lm-math"
83 "texlive-iftex"
84 "texlive-unicode-math"
85 "texlive-fontspec"
86 "texlive-xcolor"
87 "texlive-geometry"
88 "texlive-hyperref"
89 "texlive-parskip"
90 "texlive-etoolbox"
91 "texlive-setspace"
92 "zathura"
93 "zathura-pdf-mupdf"
94 "go"
95 "fzf"
96 "weechat"
97 "gimp"
98 "python"
99 "python:tk"
100 "file"
101 "python-lsp-server"
102 "kdenlive"
103 "sqlite"
104 "mpv"
105 "qbittorrent"
106 "playerctl"
107 "aerc"
108 "tcpdump"
109 "pamixer"
110 "git"
111 "git:send-email"
112 "password-store"
113 "node"
114 "kanshi"
115 "git-lfs"))
116 (list my-neovim wl-mirror firefox-wayland-new calcurse-fixed)))
117
118 ;; Below is the list of Home services. To search for available
119 ;; services, run 'guix home search KEYWORD' in a terminal.
120 (services
121 (list (service home-bash-service-type
122 (home-bash-configuration
123 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
124 ("ls" . "ls -p --color=auto")
125 ("spt" . "spotify_player")
126 ("python" . "python3")))
127 (bashrc (list (local-file
128 "bashrc")))
129 (bash-profile (list (local-file
130 "bash_profile")))))
131 (service home-xdg-configuration-files-service-type
132 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
133 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
134 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
135 ("sway" ,(local-file "sway" #:recursive? #t))
136 ("hypr" ,(local-file "hypr" #:recursive? #t))
137 ("foot" ,(local-file "foot" #:recursive? #t))
138 ("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
139 ("waybar" ,(local-file "waybar" #:recursive? #t))
140 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
141 ("aerc" ,(local-file "aerc" #:recursive? #t))
142 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
143 (service home-files-service-type
144 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
145 (".ssh/config" ,(local-file "ssh/config"))
146 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
147 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
148 (".fonts" ,(local-file "fonts" #:recursive? #t))
149 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
150 (".nix-channels" ,(local-file "nix-channels"))))
151 (service home-pipewire-service-type)
152 (service home-spotifyd-service-type)
153 (service home-dbus-service-type)
154 ;;; trying some changes
155 ;(template-files "."
156 ;'("spotify-player/app.toml"
157 ;;;
158 (service home-gpg-agent-service-type
159 (home-gpg-agent-configuration
160 (pinentry-program
161 (file-append pinentry "/bin/pinentry"))
162 (ssh-support? #t))) )))