diff --git a/disko.nix b/disko.nix new file mode 100644 index 0000000..34b0ec8 --- /dev/null +++ b/disko.nix @@ -0,0 +1,56 @@ +{ + disko.devices = { + disk = { + default = { + device = "/dev/sda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "500M"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + swap = { + size = "8G"; + content = { + type = "swap"; + }; + }; + root = { + size = "100%" + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + other = { + device = "/dev/sdb"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + default = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/home/fox/Disk"; + }; + }; + }; + }; + }; + }; + }; +}