From bc591dcedf45b80f70661f33c42c68dbd581e901 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Mon, 11 Aug 2025 17:36:57 +0200 Subject: Migrate to RDE --- src/jd/host.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/jd/host.scm (limited to 'src/jd/host.scm') diff --git a/src/jd/host.scm b/src/jd/host.scm new file mode 100644 index 0000000..7071a3f --- /dev/null +++ b/src/jd/host.scm @@ -0,0 +1,47 @@ +(define-module (jd host) + #:use-module (rde features base) + #:use-module (rde features system) + #:use-module (rde features wm) + #:use-module (gnu system file-systems) + #:use-module (gnu system mapped-devices) + #:use-module (ice-9 match)) + +(define-public %host-features + (list + (feature-host-info + #:host-name "berserker" + #:timezone "Europe/Warsaw") + (feature-file-systems + #:mapped-devices (list (mapped-device + (source (uuid + "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) + (target "crypthome") + (type luks-device-mapping))) + #:file-systems (list + (file-system + (mount-point "/") + (device (uuid + "c895e61e-1a5e-470f-b7aa-a502fc0b8596" + 'ext4)) + (type "ext4")) + (file-system + (mount-point "/boot/efi") + (device (uuid "9669-0171" + 'fat32)) + (type "vfat")) + (file-system + (mount-point "/home") + (device "/dev/mapper/crypthome") + (type "ext4") + (dependencies + (list (mapped-device + (source (uuid + "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) + (target "crypthome") + (type luks-device-mapping))))))) + (feature-kanshi + #:extra-config + `((profile laptop ((output eDP-1 enable))) + (profile docked ((output eDP-1 disable) + (output DP-3 enable))))) + (feature-hidpi))) -- cgit v1.2.3