Move nameserver setting to flake.nix for reuse
This commit is contained in:
parent
5a2b3094f5
commit
d66ae00bb7
|
@ -122,6 +122,7 @@
|
|||
networking = {
|
||||
inherit hostName;
|
||||
networkmanager.enable = true;
|
||||
nameservers = [ "9.9.9.9" ];
|
||||
};
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ git neofetch ];
|
||||
|
|
|
@ -12,7 +12,6 @@ in {
|
|||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
networking.nameservers = [ "192.168.1.230" "127.0.0.1" "9.9.9.9" ];
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "02:00";
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
networking.nameservers = [ "192.168.1.230" "9.9.9.9" ];
|
||||
services.syncthing.settings.folders = {
|
||||
"Archive".enable = false;
|
||||
"Books".enable = false;
|
||||
|
|
Loading…
Reference in a new issue