29 lines
631 B
Nix
29 lines
631 B
Nix
{ ... }:
|
|
|
|
{
|
|
boot = {}; # TODO: add kernel modules
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/ROOT";
|
|
fsType = "ext4";
|
|
options = [ "discard" "noatime" ];
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-label/BOOT";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0022" "dmask=0022" "discard" "noatime" ];
|
|
};
|
|
};
|
|
|
|
#swapDevices = [{ device = "/dev/disk/by-label/SWAP"; }];
|
|
|
|
networking = {
|
|
domain = "k8s.xengi.de";
|
|
defaultGateway6 = {
|
|
address = "2a00:1328:e101:1300::1"; # TODO: use host network
|
|
interface = "ens3"; # TODO: use correct interface name
|
|
};
|
|
};
|
|
}
|
|
|