summaryrefslogtreecommitdiff
path: root/guix/kolwynia/os/garmr/file-systems.scm
blob: 352d1f21e97d8dc053ea0caeabab5ca824d28569 (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
;;; Copyright © 2025 bdunahu <bdunahu@operationnull.com>
(define-module (kolwynia os garmr file-systems)
  #:use-module (gnu system mapped-devices)
  #:use-module (gnu system file-systems)
  #:export (%mapped-devices %file-systems))

;;; Commentary:
;;;
;;; filesystems for garmr
;;;
;;; Code:

(define %mapped-devices
  (list (mapped-device
          (source (uuid "671c8094-c8cd-47f9-8332-25513f16917b"))
          (target "hidden")
          (type luks-device-mapping))))

(define %file-systems
  (cons* (file-system
           (mount-point "/boot/efi")
           (device (uuid
                    "1A7A-026F"
                    'fat32))
           (type "vfat"))
         (file-system
           (mount-point "/home")
           (device "/dev/mapper/hidden")
           (type "ext4")
           (dependencies %mapped-devices))
         (file-system
           (mount-point "/")
           (device (uuid
                    "0a0b9520-308f-4072-a62b-b91ffacdc5b0"
                    'ext4))
           (type "ext4"))
	 %base-file-systems))

;;; file-systems.scm ends here