Setup host

This commit is contained in:
Nettika 2026-02-24 16:35:58 -08:00
commit 0768504430
No known key found for this signature in database
GPG key ID: C357EE70D5027BCC
5 changed files with 190 additions and 0 deletions

42
disks.nix Normal file
View file

@ -0,0 +1,42 @@
{
lib,
...
}:
{
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
name = "boot";
size = "1M";
type = "EF02";
};
esp = {
name = "ESP";
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "root";
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}