From c7c66c55061df867c7af05c6c82ccbe6f498c330 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 20 Sep 2024 15:49:53 +0200 Subject: Change the way i reconfigure my system. --- guix/jd/desktops/berserker.scm | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) (limited to 'guix/jd/desktops/berserker.scm') diff --git a/guix/jd/desktops/berserker.scm b/guix/jd/desktops/berserker.scm index 37e7adc..3d6b0df 100755 --- a/guix/jd/desktops/berserker.scm +++ b/guix/jd/desktops/berserker.scm @@ -1,45 +1,17 @@ (define-module (jd desktops berserker) #:use-module (jd desktops base) #:use-module (jd packages linux) + #:use-module (jd utils) #:use-module (gnu) #:use-module (gnu home)) -(define home +(define-public home (home-environment (services %jd-base-home-services))) -(define system +(define-public system (operating-system (inherit odin-non-free) (kernel-loadable-modules (list xmm7360-pci)) - (host-name "berserker") + (host-name "berserker"))) - - (bootloader (bootloader-configuration - (bootloader grub-efi-bootloader) - (targets (list "/boot/efi")))) - (mapped-devices (list (mapped-device - (source (uuid - "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) - (target "crypthome") - (type luks-device-mapping)))) - - (file-systems (cons* (file-system - (mount-point "/") - (device (uuid - "66396ba1-bda9-46bd-ab26-5edc46b437d6" - 'ext4)) - (type "ext4")) - (file-system - (mount-point "/boot/efi") - (device (uuid "482A-B117" - 'fat32)) - (type "vfat")) - (file-system - (mount-point "/home") - (device "/dev/mapper/crypthome") - (type "ext4") - (dependencies mapped-devices)) %base-file-systems)))) - - -(if (getenv "JD_HOME") home system) -- cgit v1.2.3