diff --git a/hosts/de-lacadie/configuration.nix b/hosts/de-lacadie/configuration.nix index 4c579af..9201177 100644 --- a/hosts/de-lacadie/configuration.nix +++ b/hosts/de-lacadie/configuration.nix @@ -29,6 +29,13 @@ networking.hostName = "de-lacadie"; # Define your hostname. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + services.resolved = { + enable = true; + dnssec = "true"; + domains = [ "~." ]; + fallbackDns = [ "9.9.9.9" "149.112.112.112" ]; + }; + # Set your time zone. time.timeZone = "America/Montreal"; @@ -79,6 +86,8 @@ # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = ["nvidia"]; + security.pam.services.swaylock = {}; + hardware.nvidia = { # Modesetting is required. modesetting.enable = true;