From c744867b5adc417748f6ed6fdb17cb6e4c6fc46b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Jan 2025 15:05:32 +0100 Subject: ... --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 816fd499..47c03f23 100644 --- a/flake.nix +++ b/flake.nix @@ -189,6 +189,10 @@ owner = "sodiboo"; repo = "niri-flake"; ref = "main"; + inputs = { + nixpkgs.follows = "nixpkgs"; + niri-unstable.url = "github:gkleen/niri"; + }; }; }; @@ -275,9 +279,10 @@ mkAccountModule = dir: path: accountName: let userName = accountUserName accountName; + hostName = accountHostName accountName; in overrideModule (import (dir + "/${path}")) - (inputs: inputs // { inherit userName; }) + (inputs: inputs // { inherit userName hostName; }) (outputs: { _file = dir + "/${path}"; } // outputs // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); -- cgit v1.2.3