37 lines
687 B
Nix
37 lines
687 B
Nix
{ ... }:
|
|
let
|
|
fs = import ../../lib/modules/partition/fs.nix;
|
|
in {
|
|
imports = [
|
|
../../lib/modules/partition.nix
|
|
];
|
|
|
|
config = {
|
|
partition = {
|
|
os = {
|
|
partitions = {
|
|
Boot = {
|
|
index = 1;
|
|
type = "uefi";
|
|
size = "+1G";
|
|
format = fs.fat32;
|
|
mountPoint = "/boot";
|
|
};
|
|
|
|
Swap = {
|
|
index = 2;
|
|
type = "swap";
|
|
};
|
|
|
|
OS = {
|
|
index = 3;
|
|
type = "linux";
|
|
format = fs.ext4;
|
|
mountPoint = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|