Create new install system with disko

This commit is contained in:
Vili Sinervä 2025-06-09 00:16:35 +03:00
parent 29c9b505d1
commit 81237e88b0
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
8 changed files with 95 additions and 89 deletions

View file

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