deploy-rs + nixos-anywhere

This commit is contained in:
Squibid 2025-11-25 10:42:04 -05:00
parent 469f4dcd43
commit d28ec06ae9
Signed by: squibid
GPG key ID: BECE5684D3C4005D
8 changed files with 182 additions and 24 deletions

View file

@ -0,0 +1,36 @@
{ lib, ... }:
{
disko.devices = {
disk.main = {
device = lib.mkDefault "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}