flake.nix: only expose self to nixos modules, not all inputs
This commit is contained in:
parent
8b04d9039e
commit
7ce034f2d0
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, self, ... }:
|
||||||
|
|
||||||
let keys = import ../../keys.nix;
|
let keys = import ../../keys.nix;
|
||||||
in {
|
in {
|
||||||
|
@ -12,5 +12,5 @@ in {
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
home-manager.users."qenya" = inputs.self.homeManagerModules."qenya";
|
home-manager.users."qenya" = self.homeManagerModules."qenya";
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
orm = import nixpkgsSmall { system = "x86_64-linux"; };
|
orm = import nixpkgsSmall { system = "x86_64-linux"; };
|
||||||
kalessin = import nixpkgsSmall { system = "aarch64-linux"; };
|
kalessin = import nixpkgsSmall { system = "aarch64-linux"; };
|
||||||
};
|
};
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit self; };
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = { config, lib, pkgs, ... }: {
|
defaults = { config, lib, pkgs, ... }: {
|
||||||
|
|
Loading…
Reference in a new issue