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