home-config/home-configuration.scm

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