summaryrefslogtreecommitdiff
path: root/.config/guix/fsociety.scm
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-01-21 14:12:12 +0200
committerThanos Apollo <[email protected]>2023-01-21 14:12:12 +0200
commit74a901fc7425339fe8d54e3a61207ba71918563e (patch)
tree9ae5565d19441b42397ce880aa6b497431114a47 /.config/guix/fsociety.scm
parent096714d249fd352d501e8243c46308948f5e5542 (diff)
Add fsociety
Diffstat (limited to '.config/guix/fsociety.scm')
-rw-r--r--.config/guix/fsociety.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/.config/guix/fsociety.scm b/.config/guix/fsociety.scm
new file mode 100644
index 0000000..173d5fd
--- /dev/null
+++ b/.config/guix/fsociety.scm
@@ -0,0 +1,44 @@
+(define-module (helena)
+ #:use-module (gnu)
+ #:use-module (gnu home)
+ #:use-module (common)
+ #:use-module (base))
+
+(define home
+ (home-environment
+ (services (append
+ (list
+ common-home-services)))))
+
+(define system
+ (operating-system
+ (inherit base-operating-system)
+
+ (host-name "helena")
+
+ (bootloader (bootloader-configuration
+ (bootloader grub-bootloader)
+ (targets (list "/dev/nvme0n1"))
+ (keyboard-layout keyboard-layout)))
+ (swap-devices (list (swap-space
+ (target (uuid
+ "a8d782da-f1ea-477e-9b47-cf5aa431e893")))))
+
+ ;; The list of file systems that get "mounted". The unique
+ ;; file system identifiers there ("UUIDs") can be obtained
+ ;; by running 'blkid' in a terminal.
+ (file-systems (cons* (file-system
+ (mount-point "/boot/efi")
+ (device (uuid "021E-83B3"
+ 'fat32))
+ (type "vfat"))
+ (file-system
+ (mount-point "/")
+ (device (uuid
+ "2bb282ae-7b2d-45c3-92b1-b1524177defb"
+ 'ext4))
+ (type "ext4")) %base-file-systems))))
+(if (getenv "RUNNING_GUIX_HOME") home system)
+
+
+