diff --git a/common/default.nix b/common/default.nix index 4feb47b..1cb1d28 100644 --- a/common/default.nix +++ b/common/default.nix @@ -15,6 +15,7 @@ SystemMaxUse=512M MaxRetentionSec=48h ''; + nix.package = pkgs.lix; nix.gc.automatic = lib.mkDefault true; nix.gc.options = lib.mkDefault "--delete-older-than 7d"; nix.settings.trusted-users = [ "root" "@wheel" ]; diff --git a/pkgs/default.nix b/pkgs/default.nix index cec7f43..7969daf 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -21,6 +21,9 @@ let uffd = oldstable.callPackage ./uffd { }; inherit (oldstable) uwsgi flask; + + # TODO: once on nixos 24.05, remove this inherit + inherit (unstable) lix; }; in pkgs.extend(_: _: newpkgs)