diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
commit | 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch) | |
tree | b564c1c43920def6641cd482a7b4dca453dbc043 /guix/jd/desktops/berserker.scm | |
parent | 07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff) | |
download | dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip |
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to 'guix/jd/desktops/berserker.scm')
-rwxr-xr-x | guix/jd/desktops/berserker.scm | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/guix/jd/desktops/berserker.scm b/guix/jd/desktops/berserker.scm index ed673db..37e7adc 100755 --- a/guix/jd/desktops/berserker.scm +++ b/guix/jd/desktops/berserker.scm | |||
@@ -1,5 +1,6 @@ | |||
1 | (define-module (jd desktops berserker) | 1 | (define-module (jd desktops berserker) |
2 | #:use-module (jd desktops base) | 2 | #:use-module (jd desktops base) |
3 | #:use-module (jd packages linux) | ||
3 | #:use-module (gnu) | 4 | #:use-module (gnu) |
4 | #:use-module (gnu home)) | 5 | #:use-module (gnu home)) |
5 | 6 | ||
@@ -10,30 +11,35 @@ | |||
10 | (define system | 11 | (define system |
11 | (operating-system | 12 | (operating-system |
12 | (inherit odin-non-free) | 13 | (inherit odin-non-free) |
14 | (kernel-loadable-modules (list xmm7360-pci)) | ||
13 | (host-name "berserker") | 15 | (host-name "berserker") |
14 | 16 | ||
15 | (bootloader (bootloader-configuration | 17 | |
18 | (bootloader (bootloader-configuration | ||
16 | (bootloader grub-efi-bootloader) | 19 | (bootloader grub-efi-bootloader) |
17 | (targets (list "/boot/efi")))) | 20 | (targets (list "/boot/efi")))) |
21 | (mapped-devices (list (mapped-device | ||
22 | (source (uuid | ||
23 | "1f2b1bf2-89fe-4e2c-8b40-c460572bb776")) | ||
24 | (target "crypthome") | ||
25 | (type luks-device-mapping)))) | ||
18 | 26 | ||
19 | (swap-devices (list (swap-space | 27 | (file-systems (cons* (file-system |
20 | (target (uuid | ||
21 | "70ee2477-66ff-4856-aebf-8a77053c4462"))))) | ||
22 | |||
23 | (file-systems (cons* (file-system | ||
24 | (mount-point "/boot/efi") | ||
25 | (device (uuid "BE9B-69F0" | ||
26 | 'fat32)) | ||
27 | (type "vfat")) | ||
28 | |||
29 | (file-system | ||
30 | (mount-point "/") | 28 | (mount-point "/") |
31 | (device (uuid | 29 | (device (uuid |
32 | "d8783299-c180-4ca3-9c56-9826797f928d" | 30 | "66396ba1-bda9-46bd-ab26-5edc46b437d6" |
33 | 'ext4)) | 31 | 'ext4)) |
34 | (type "ext4")) | 32 | (type "ext4")) |
35 | 33 | (file-system | |
36 | %base-file-systems)))) | 34 | (mount-point "/boot/efi") |
35 | (device (uuid "482A-B117" | ||
36 | 'fat32)) | ||
37 | (type "vfat")) | ||
38 | (file-system | ||
39 | (mount-point "/home") | ||
40 | (device "/dev/mapper/crypthome") | ||
41 | (type "ext4") | ||
42 | (dependencies mapped-devices)) %base-file-systems)))) | ||
37 | 43 | ||
38 | 44 | ||
39 | (if (getenv "JD_HOME") home system) | 45 | (if (getenv "JD_HOME") home system) |