diff --git a/services/pihole.nix b/services/pihole.nix index 0dc7625..0aa5e51 100644 --- a/services/pihole.nix +++ b/services/pihole.nix @@ -19,6 +19,7 @@ [ "53:53/tcp" "53:53/udp" "80:80/tcp" "443:443/tcp" ]; environmentFiles = [ config.age.secrets.pihole-credentials.path ]; networks = [ "bridge" ]; + dns = [ "127.0.0.1" "194.242.2.9" ]; }; }; }; diff --git a/systems/linux/bosephus.nix b/systems/linux/bosephus.nix index 64452b7..a3c7c7a 100644 --- a/systems/linux/bosephus.nix +++ b/systems/linux/bosephus.nix @@ -17,6 +17,10 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Ignore lid - so I can close without having the system go into sleep mode + services.logind.lidSwitch = "ignore"; + services.logind.lidSwitchDocked = "ignore"; + # Secrets age.secrets = { network-information = {