diff options
Diffstat (limited to 'configuration/snorlax/disk-config.nix')
-rw-r--r-- | configuration/snorlax/disk-config.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/configuration/snorlax/disk-config.nix b/configuration/snorlax/disk-config.nix new file mode 100644 index 0000000..aa789a3 --- /dev/null +++ b/configuration/snorlax/disk-config.nix @@ -0,0 +1,38 @@ +{ + disko.devices = { + disk = { + sda = { + device = "/dev/sda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + MBR = { + type = "EF02"; # for grub MBR + size = "1M"; + priority = 1; # Needs to be first partition + }; + ESP = { + type = "EF00"; + size = "500M"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +} |