mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 02:00:51 +02:00
using resolvedctl instead of hardcoded dns
This commit is contained in:
parent
05d5c8bc1c
commit
daefee832f
1 changed files with 0 additions and 8 deletions
|
@ -60,14 +60,6 @@
|
||||||
prefixLength = 120;
|
prefixLength = 120;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
networking.nameservers = [ "100.100.45.5" "9.9.9.9" ];
|
|
||||||
environment.etc."resolv.conf" = with lib; with pkgs; {
|
|
||||||
source = writeText "resolv.conf" ''
|
|
||||||
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)}
|
|
||||||
options edns0
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostId = "fbb334ae";
|
networking.hostId = "fbb334ae";
|
||||||
services.zfs.autoSnapshot.enable = true;
|
services.zfs.autoSnapshot.enable = true;
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue