From 8eb423887c43195530196cf3b418ddd8ccf5abe8 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 9 Jan 2025 16:16:00 -0800 Subject: add disko dir --- sda/disk-config.nix | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 sda/disk-config.nix (limited to 'sda/disk-config.nix') diff --git a/sda/disk-config.nix b/sda/disk-config.nix deleted file mode 100644 index 7e275e5..0000000 --- a/sda/disk-config.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - disko.devices = { - disk = { - main = { - type = "disk"; - device = "/dev/sda"; - content = { - type = "gpt"; - partitions = { - ESP = { - size = "500M"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = [ "umask=0077" ]; - }; - }; - luks = { - size = "100%"; - content = { - type = "luks"; - name = "crypted"; - settings.allowDiscards = true; - passwordFile = "/tmp/secret.key"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; - }; - }; - }; - }; - }; - }; - }; -} -- cgit