feat(systems/kuwubernetes): init

This commit is contained in:
Kat Inskip 2024-01-15 15:33:12 -08:00
parent 84e0a57bfd
commit ba6060e55a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
4 changed files with 94 additions and 28 deletions

View file

@ -0,0 +1,37 @@
{
config,
meta,
lib,
modulesPath,
...
}: {
imports = with meta; [
(modulesPath + "/profiles/qemu-guest.nix")
nixos.k3s
];
boot = {
initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"virtio_scsi"
"sd_mod"
"sr_mod"
];
loader.grub.device = "/dev/sda";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/efb3698c-2471-4b44-b82a-4b9d4a070da6";
fsType = "ext4";
};
swapDevices = [
{device = "/dev/disk/by-uuid/b374e454-7af5-46fc-b949-24e38a2216d5";}
];
networking.interfaces.ens18.useDHCP = true;
system.stateVersion = "23.11";
}