diff --git a/common/default.nix b/common/default.nix index 6caf230..e7aba5f 100644 --- a/common/default.nix +++ b/common/default.nix @@ -5,10 +5,18 @@ ./users.nix ./motd.nix ]; + nix = { package = pkgs.lix; settings.experimental-features = [ "nix-command" "flakes" ]; }; + + nix.gc = { + automatic = true; + options = "--delete-older-than 14d"; + randomizedDelaySec = "30min"; + }; + environment.systemPackages = with pkgs; [ vim wget @@ -19,6 +27,7 @@ git podman-tui ]; + services.dbus.enable = true; services.dbus.implementation = "broker"; programs.mtr.enable = true; @@ -28,6 +37,7 @@ wheelNeedsPassword = false; execWheelOnly = true; }; + networking.firewall.enable = false; services.openssh = { enable = true;