diff options
Diffstat (limited to 'guix/jd/desktops/base.scm')
-rw-r--r-- | guix/jd/desktops/base.scm | 79 |
1 files changed, 30 insertions, 49 deletions
diff --git a/guix/jd/desktops/base.scm b/guix/jd/desktops/base.scm index 079d57e..2cd98fd 100644 --- a/guix/jd/desktops/base.scm +++ b/guix/jd/desktops/base.scm | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | (use-service-modules cups desktop networking ssh xorg | 23 | (use-service-modules cups desktop networking ssh xorg |
24 | docker virtualization pm sound dbus | 24 | docker virtualization pm sound dbus |
25 | nix sddm) | 25 | nix sddm guix) |
26 | 26 | ||
27 | (define-public %jd-base-home-services | 27 | (define-public %jd-base-home-services |
28 | (list | 28 | (list |
@@ -119,37 +119,18 @@ | |||
119 | 119 | ||
120 | (define-public %jd-base-services | 120 | (define-public %jd-base-services |
121 | (cons* | 121 | (cons* |
122 | (service openssh-service-type) | 122 | (service guix-home-service-type |
123 | `(("jakub" ,(home-environment | ||
124 | (services %jd-base-home-services))))) | ||
123 | 125 | ||
124 | ;; (set-xorg-configuration | 126 | (service openssh-service-type) |
125 | ;; (xorg-configuration ;for Xorg | ||
126 | ;; (keyboard-layout (keyboard-layout "pl")))) | ||
127 | ;; (service greetd-service-type | ||
128 | ;; (greetd-configuration | ||
129 | ;; ;; We need to give the greeter user these permissions, otherwise | ||
130 | ;; ;; Sway will crash on launch. | ||
131 | ;; (greeter-supplementary-groups (list "video" "input")) | ||
132 | ;; (terminals | ||
133 | ;; (list (greetd-terminal-configuration | ||
134 | ;; (terminal-vt "1") | ||
135 | ;; (terminal-switch #t)) | ||
136 | ;; (greetd-terminal-configuration | ||
137 | ;; (terminal-vt "2")) | ||
138 | ;; (greetd-terminal-configuration | ||
139 | ;; (terminal-vt "3")) | ||
140 | ;; (greetd-terminal-configuration | ||
141 | ;; (terminal-vt "4")) | ||
142 | ;; (greetd-terminal-configuration | ||
143 | ;; (terminal-vt "5")) | ||
144 | ;; (greetd-terminal-configuration | ||
145 | ;; (terminal-vt "6")))))) | ||
146 | 127 | ||
147 | (service console-font-service-type | 128 | (service console-font-service-type |
148 | (map (lambda (tty) | 129 | (map (lambda (tty) |
149 | (cons tty (file-append | 130 | (cons tty (file-append |
150 | font-terminus | 131 | font-terminus |
151 | "/share/consolefonts/ter-122n.psf.gz"))) | 132 | "/share/consolefonts/ter-122n.psf.gz"))) |
152 | '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) | 133 | '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) |
153 | 134 | ||
154 | (service screen-locker-service-type | 135 | (service screen-locker-service-type |
155 | (screen-locker-configuration | 136 | (screen-locker-configuration |
@@ -202,26 +183,26 @@ | |||
202 | 183 | ||
203 | ;; %desktop-services | 184 | ;; %desktop-services |
204 | (modify-services %desktop-services | 185 | (modify-services %desktop-services |
205 | (guix-service-type config => (guix-configuration | 186 | (guix-service-type config => (guix-configuration |
206 | (inherit config) | 187 | (inherit config) |
207 | (substitute-urls | 188 | (substitute-urls |
208 | (append (list "https://substitutes.nonguix.org") | 189 | (append (list "https://substitutes.nonguix.org") |
209 | %default-substitute-urls)) | 190 | %default-substitute-urls)) |
210 | (authorized-keys | 191 | (authorized-keys |
211 | (append (list (plain-file "non-guix.pub" | 192 | (append (list (plain-file "non-guix.pub" |
212 | "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")) | 193 | "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")) |
213 | %default-authorized-guix-keys)))) | 194 | %default-authorized-guix-keys)))) |
214 | (delete network-manager-service-type) | 195 | (delete network-manager-service-type) |
215 | ;; (delete mingetty-service-type) | 196 | ;; (delete mingetty-service-type) |
216 | (delete console-font-service-type) | 197 | (delete console-font-service-type) |
217 | 198 | ||
218 | (delete pulseaudio-service-type) | 199 | (delete pulseaudio-service-type) |
219 | (delete alsa-service-type) | 200 | (delete alsa-service-type) |
220 | (delete (if (string-prefix? "x86_64" | 201 | (delete (if (string-prefix? "x86_64" |
221 | (or (%current-target-system) | 202 | (or (%current-target-system) |
222 | (%current-system))) | 203 | (%current-system))) |
223 | gdm-service-type | 204 | gdm-service-type |
224 | sddm-service-type))))) | 205 | sddm-service-type))))) |
225 | 206 | ||
226 | ;; Odin is a base for my operating systems | 207 | ;; Odin is a base for my operating systems |
227 | (define-public odin-free | 208 | (define-public odin-free |