This commit is contained in:
Den Afanasyev 2025-06-17 22:30:24 +03:00
parent 5edf0f15fc
commit fc069197b9
4 changed files with 163 additions and 19 deletions

33
disko.nix Normal file
View file

@ -0,0 +1,33 @@
{
disko.devices = {
disk = {
my-disk = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}