configs/nix: switch to lix

This commit is contained in:
Aaron Bieber 2024-05-12 14:34:00 -06:00
parent f5f1dc7137
commit ed7e05d802
No known key found for this signature in database

View File

@ -1,7 +1,9 @@
{ pkgs, inputs, ... }:
{ pkgs, inputs, lib, ... }:
{
nix = {
package = inputs.unstable.legacyPackages.${pkgs.system}.nixVersions.nix_2_21;
nix =
let myPkgs = inputs.unstableSmall.legacyPackages.${pkgs.system};
in {
package = if lib.hasAttr "lix" myPkgs then myPkgs.lix else myPkgs.nixVersions.nix_2_21;
gc = {
automatic = true;
dates = "daily";