diff --git a/flake.nix b/flake.nix index c7f8c3d..64012ac 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,7 @@ lib.mapAttrs ( system: pkgs: { inherit - (import ./packages rec { + (import ./packages { inherit pkgs; helix = inputs.helix.packages.${system}.default; }) @@ -74,5 +74,10 @@ # Mismatched system dependencies will lead to crashes and other issues. inputs.nixpkgs.follows = "nixpkgs"; }; + + lix-module = { + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; } diff --git a/modules/system/nix/module.nix b/modules/system/nix/module.nix index 4f0d67a..69e8b78 100644 --- a/modules/system/nix/module.nix +++ b/modules/system/nix/module.nix @@ -12,10 +12,11 @@ in { imports = [ ./documentation.nix # nixos documentation ./nixpkgs.nix # global nixpkgs configuration + inputs.lix-module.nixosModules.default ]; nix = { - package = pkgs.lix; + # package = pkgs.lix; # fuck channels, no thanks channel.enable = mkForce false; @@ -98,6 +99,7 @@ in { "nix-command" # experimental nix commands "cgroups" # allow nix to execute builds inside cgroups "repl-flake" # nh os repl needs this on lix + "pipe-operator" ]; # Ensures that the result of Nix expressions is fully determined by