From bd46da13e3215fe106bd506cdbdea7f2e6e1379c Mon Sep 17 00:00:00 2001 From: chronoblade Date: Mon, 21 Jul 2025 20:43:27 +0200 Subject: [PATCH] New disko to install nixos --- disko.nix | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 disko.nix 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"; + }; + }; + }; + }; + }; + }; + }; +}