From 7ce034f2d0650998b6d4dfbd8722aa65ee6f2a59 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Thu, 26 Sep 2024 12:36:09 +0100 Subject: [PATCH] flake.nix: only expose self to nixos modules, not all inputs --- common/users/qenya.nix | 4 ++-- flake.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/users/qenya.nix b/common/users/qenya.nix index 6e96e58..d3998c3 100644 --- a/common/users/qenya.nix +++ b/common/users/qenya.nix @@ -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"; } diff --git a/flake.nix b/flake.nix index fa2a9d7..ea28d43 100644 --- a/flake.nix +++ b/flake.nix @@ -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, ... }: {