diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2025-08-11 17:36:57 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2025-08-11 17:40:12 +0200 |
commit | bc591dcedf45b80f70661f33c42c68dbd581e901 (patch) | |
tree | 4a3cbd7831d8e0d8ce12f318d64e06848c9ea3ab /src/jd/host.scm | |
parent | 1ebb0e267b40d86386b66b7b81686461446e39f8 (diff) | |
download | dotfiles-bc591dcedf45b80f70661f33c42c68dbd581e901.tar.gz dotfiles-bc591dcedf45b80f70661f33c42c68dbd581e901.zip |
Diffstat (limited to 'src/jd/host.scm')
-rw-r--r-- | src/jd/host.scm | 47 |
1 files changed, 47 insertions, 0 deletions
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 @@ | |||
1 | (define-module (jd host) | ||
2 | #:use-module (rde features base) | ||
3 | #:use-module (rde features system) | ||
4 | #:use-module (rde features wm) | ||
5 | #:use-module (gnu system file-systems) | ||
6 | #:use-module (gnu system mapped-devices) | ||
7 | #:use-module (ice-9 match)) | ||
8 | |||
9 | (define-public %host-features | ||
10 | (list | ||
11 | (feature-host-info | ||
12 | #:host-name "berserker" | ||
13 | #:timezone "Europe/Warsaw") | ||
14 | (feature-file-systems | ||
15 | #:mapped-devices (list (mapped-device | ||
16 | (source (uuid | ||
17 | "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) | ||
18 | (target "crypthome") | ||
19 | (type luks-device-mapping))) | ||
20 | #:file-systems (list | ||
21 | (file-system | ||
22 | (mount-point "/") | ||
23 | (device (uuid | ||
24 | "c895e61e-1a5e-470f-b7aa-a502fc0b8596" | ||
25 | 'ext4)) | ||
26 | (type "ext4")) | ||
27 | (file-system | ||
28 | (mount-point "/boot/efi") | ||
29 | (device (uuid "9669-0171" | ||
30 | 'fat32)) | ||
31 | (type "vfat")) | ||
32 | (file-system | ||
33 | (mount-point "/home") | ||
34 | (device "/dev/mapper/crypthome") | ||
35 | (type "ext4") | ||
36 | (dependencies | ||
37 | (list (mapped-device | ||
38 | (source (uuid | ||
39 | "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) | ||
40 | (target "crypthome") | ||
41 | (type luks-device-mapping))))))) | ||
42 | (feature-kanshi | ||
43 | #:extra-config | ||
44 | `((profile laptop ((output eDP-1 enable))) | ||
45 | (profile docked ((output eDP-1 disable) | ||
46 | (output DP-3 enable))))) | ||
47 | (feature-hidpi))) | ||