diff options
| author | c0co <c0co.channel@braincrime.com> | 2025-09-08 14:28:18 +0100 |
|---|---|---|
| committer | c0co <c0co.channel@braincrime.com> | 2025-09-08 14:28:18 +0100 |
| commit | 268bcacf28bd739008017396debd8547aad264a2 (patch) | |
| tree | f8dc051048e54541b27502738b22acf34fe5a4d6 /dom0 | |
| parent | 67e8d0fb57b89316e4036035368924f1f0bfbb0a (diff) | |
Import home to system for holistic build
Diffstat (limited to 'dom0')
| -rw-r--r-- | dom0/.home.scm.swp | bin | 12288 -> 0 bytes | |||
| -rw-r--r-- | dom0/home.scm | 8 | ||||
| -rw-r--r-- | dom0/system.scm | 10 |
3 files changed, 13 insertions, 5 deletions
diff --git a/dom0/.home.scm.swp b/dom0/.home.scm.swp Binary files differdeleted file mode 100644 index d550e7c..0000000 --- a/dom0/.home.scm.swp +++ /dev/null diff --git a/dom0/home.scm b/dom0/home.scm index d41d694..8d63d88 100644 --- a/dom0/home.scm +++ b/dom0/home.scm @@ -10,14 +10,16 @@ #:use-module (gnu home services desktop) #:use-module (gnu home services gnupg) #:use-module (gnu home services xdg) - #:use-module (guix gexp)) + #:use-module (guix gexp) + #:export (dom0-home-environment)) (use-package-modules compression gnome fonts freedesktop linux package-management pulseaudio ssh terminals xdisorg xorg glib virtualization wm) - (home-environment + (define dom0-home-environment + (home-environment (services (list (simple-service 'profile-env-vars-service @@ -66,4 +68,4 @@ alsa-utils pavucontrol ;; General - virt-manager openssh zip unzip))) + virt-manager openssh zip unzip)))) diff --git a/dom0/system.scm b/dom0/system.scm index c2fea51..f05cd7c 100644 --- a/dom0/system.scm +++ b/dom0/system.scm @@ -1,10 +1,12 @@ ;; Modules to import to access variables used. (define-module (dom0 system) #:use-module (gnu) + #:use-module (gnu services guix) #:use-module (nongnu packages linux) #:use-module (nongnu system linux-initrd) #:use-module (nongnu packages nvidia) - #:use-module (nongnu services nvidia)) + #:use-module (nongnu services nvidia) + #:use-module (dom0 home)) (use-service-modules linux guix desktop pm audio virtualization networking dbus xorg avahi spice) @@ -152,7 +154,11 @@ (service virtlog-service-type) ;; udev - (udev-rules-service 'pipewire-add-udev-rules pipewire)))) + (udev-rules-service 'pipewire-add-udev-rules pipewire) + + ;; dom0 home + (service guix-home-service-type + `(("dom0" ,dom0-home-environment)))))) ;; Packages (system-wide) (packages (cons* vim |
