added flakes and dns

This commit is contained in:
Jakub Kropáček 2024-12-22 15:09:02 +01:00
parent 713dd02e70
commit 2848616359
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,8 @@
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
kropcloud = {
admin = {
user = "krop";

View file

@ -58,6 +58,7 @@ in
};
};
useDHCP = (cfg.ipv4.address == null || cfg.ipv4.prefixLength == null);
nameservers = [ "8.8.8.8" "1.1.1.1" ];
};
};
}