update test system config

This commit is contained in:
lilly 2025-02-07 15:02:33 +01:00
commit 7e3457a724
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
8 changed files with 117 additions and 43 deletions

View file

@ -4,45 +4,8 @@
{
imports = [ ];
# boot config
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/94A7-6995";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
"/" = {
device = "/dev/disk/by-uuid/4e0b7ea5-8c74-478f-a4e3-ddc5691e4065";
fsType = "ext4";
};
"/srv/data/k8s" = {
device = "10.0.10.14:/srv/data/k8s";
fsType = "nfs";
options = [
"defaults"
"_netdev"
];
};
};
# networking config
networking.useDHCP = false;
systemd.network = {
enable = true;
networks.enp1s0 = {
matchConfig = {
Type = "ether";
MACAddress = "52:54:00:e6:1f:51";
};
networkConfig = {
IPv6AcceptRA = false;
};
DHCP = "yes";
};
};
networking.useDHCP = true;
# DO NOT CHANGE
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible