From d85086ed10809cf9864ed0321285d31c0b1f93f0 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Wed, 5 Jul 2023 13:59:28 +0200 Subject: Add polkit rules and home services to my guix config. --- guix/jd/desktops/berserker.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 guix/jd/desktops/berserker.scm (limited to 'guix/jd/desktops/berserker.scm') diff --git a/guix/jd/desktops/berserker.scm b/guix/jd/desktops/berserker.scm new file mode 100755 index 0000000..37135dc --- /dev/null +++ b/guix/jd/desktops/berserker.scm @@ -0,0 +1,37 @@ +(define-module (jd desktops berserker) + #:use-module (jd desktops base) + #:use-module (gnu) + #:use-module (gnu home)) + +(define home + (home-environment + (services %jd-base-home-services))) + +(define system + (operating-system + (inherit odin-non-free) + (host-name "berserker") + + (bootloader (bootloader-configuration + (bootloader grub-efi-bootloader) + (targets (list "/boot/efi")))) + + (mapped-devices (list (mapped-device + (source (uuid + "ef754148-6f23-4d7e-92b4-7abbfe0ae201")) + (target "cryptroot") + (type luks-device-mapping)))) + + (file-systems (cons* (file-system + (mount-point "/boot/efi") + (device (uuid "695E-FE22" + 'fat32)) + (type "vfat")) + (file-system + (mount-point "/") + (device "/dev/mapper/cryptroot") + (type "ext4") + (dependencies mapped-devices)) %base-file-systems)))) + + +(if (getenv "JD_HOME") home system) -- cgit v1.2.3