summary refs log tree commit diff
path: root/modules/base.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base.nix')
-rwxr-xr-xmodules/base.nix26
1 files changed, 14 insertions, 12 deletions
diff --git a/modules/base.nix b/modules/base.nix

index ae370f6..e539b15 100755 --- a/modules/base.nix +++ b/modules/base.nix
@@ -73,6 +73,7 @@ "8.8.8.8" "8.4.4.8" ]; + resolvconf.enable = false; }; environment.etc."resolv.conf" = lib.mkDefault { @@ -100,22 +101,26 @@ }; resolved = { enable = lib.mkForce false; - dnssec = lib.mkForce "false"; - dnsovertls = lib.mkForce "false"; + settings = { + Resolve = { + DNSSEC = lib.mkForce "false"; + DNSOverTLS = lib.mkForce "false"; + }; + }; }; }; systemd = { - sleep.extraConfig = '' - AllowSuspend=no - AllowHibernation=no - ''; + sleep.settings.Sleep = { + AllowSuspend = "no"; + AllowHibernation = "no"; + }; }; environment.systemPackages = with pkgs; [ #wget net-tools - neofetch + fastfetch lnav pciutils git @@ -132,7 +137,7 @@ dig cloud-utils #nix-output-monitor - nom.packages.${system}.default + nom.packages.${stdenv.hostPlatform.system}.default #expect unrar-wrapper #arch-install-scripts @@ -150,9 +155,7 @@ zsh-completions ]; - systemd.coredump.extraConfig = lib.mkDefault '' - Storage=none - ''; + systemd.coredump.settings.Coredump.Storage = lib.mkDefault "none"; nix = { settings = { experimental-features = [ @@ -183,7 +186,6 @@ }; monitoring.monitorAll = lib.mkForce false; - services.promtail.enable = lib.mkForce false; networking.useDHCP = lib.mkOverride 51 true; }; }