Move nameserver setting to flake.nix for reuse

This commit is contained in:
Evie Litherland-Smith 2023-09-23 08:07:36 +01:00
parent 5a2b3094f5
commit d66ae00bb7
3 changed files with 1 additions and 2 deletions

View file

@ -122,6 +122,7 @@
networking = {
inherit hostName;
networkmanager.enable = true;
nameservers = [ "9.9.9.9" ];
};
environment = {
systemPackages = with pkgs; [ git neofetch ];

View file

@ -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";

View file

@ -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;