mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
37 lines
646 B
Nix
37 lines
646 B
Nix
{
|
|
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/5ab5efe2-0250-4bf1-8fd6-3725cdd15031";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
swapDevices = [
|
|
{device = "/dev/disk/by-uuid/b374e454-7af5-46fc-b949-24e38a2216d5";}
|
|
];
|
|
|
|
networking.interfaces.ens18.useDHCP = true;
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|