19 lines
313 B
Nix
19 lines
313 B
Nix
|
{ lib, ...}:
|
||
|
|
||
|
{
|
||
|
boot.isContainer = true;
|
||
|
networking.useDHCP = false;
|
||
|
users.users.root.hashedPassword = "";
|
||
|
networking.firewall.enable = false;
|
||
|
services.coredns = {
|
||
|
enable = true;
|
||
|
config = ''
|
||
|
.:53 {
|
||
|
forward . 1.1.1.1
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
system.stateVersion = lib.mkDefault "21.05";
|
||
|
}
|