diff options
Diffstat (limited to 'nix/disko/drive-bios.nix')
| -rw-r--r-- | nix/disko/drive-bios.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nix/disko/drive-bios.nix b/nix/disko/drive-bios.nix new file mode 100644 index 0000000..cf0aeba --- /dev/null +++ b/nix/disko/drive-bios.nix @@ -0,0 +1,35 @@ +{ config, lib, ... }: +let + spec = { + disko.devices = { + disk = { + main = { + device = config.monorepo.vars.device; + type = "disk"; + content = { + type = "gpt"; + partitions = { + boot = { + size = "1M"; + type = "EF02"; + }; + root = { + label = "disk-main-root"; + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; + }; +in +{ + monorepo.vars.myDiskoSpec = spec; + disko.devices = spec.disko.devices; +} |
