summaryrefslogtreecommitdiff
path: root/.config/guix/fsociety.scm
blob: 173d5fdcf45a624435972dfde693eef43df05f13 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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)