@@ 2,6 2,7 @@
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS, and a swap file.
+(define-module (config))
(use-modules
(nongnu packages linux)
@@ 54,12 55,6 @@
(type "vfat")))
%base-file-systems))
- ;; Specify a swap file for the system, which resides on the
- ;; root file system.
- (swap-devices (list ;; (swap-space
- ;; (target "/swapfile"))
- ))
-
;; Create user `bob' with `alice' as its initial password.
(users (cons (user-account
(name "ruther")
@@ 72,9 67,7 @@
%base-user-accounts))
;; Add the `students' group
- (groups (cons* ;; (user-group
- ;; (name "users"))
- %base-groups))
+ (groups %base-groups)
;; This is where we specify system-wide packages.
(packages (append (list
@@ 149,10 142,10 @@
(elogind-service-type config => (elogind-configuration
(handle-lid-switch-external-power 'ignore)))
(pulseaudio-service-type config => (pulseaudio-configuration
- (inherit config)
- (client-conf
- (append
- (pulseaudio-configuration-client-conf config)
+ (inherit config)
+ (client-conf
+ (append
+ (pulseaudio-configuration-client-conf config)
'((autospawn . no))))))
(guix-service-type config => (guix-configuration
(inherit config)