This commit is contained in:
2025-09-08 13:56:57 -07:00
parent c0302ba8cb
commit 19e9b46226
5 changed files with 50 additions and 1 deletions

11
hw/sk/default.nix Normal file
View File

@@ -0,0 +1,11 @@
{ inputs, ... }:
{
imports = [
./hardware-configuration.nix
./disk-config.nix
];
config = {
};
}

35
hw/sk/disk-config.nix Normal file
View File

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