flake.nix: only expose self to nixos modules, not all inputs

This commit is contained in:
Katherina Walshe-Grey 2024-09-26 12:36:09 +01:00
parent 8b04d9039e
commit 7ce034f2d0
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, self, ... }:
let keys = import ../../keys.nix;
in {
@ -12,5 +12,5 @@ in {
programs.zsh.enable = true;
home-manager.users."qenya" = inputs.self.homeManagerModules."qenya";
home-manager.users."qenya" = self.homeManagerModules."qenya";
}

View file

@ -65,7 +65,7 @@
orm = import nixpkgsSmall { system = "x86_64-linux"; };
kalessin = import nixpkgsSmall { system = "aarch64-linux"; };
};
specialArgs = { inherit inputs; };
specialArgs = { inherit self; };
};
defaults = { config, lib, pkgs, ... }: {