From ae9a80c1f012686c1f65fce7ce76fdd1b77b0b71 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 23 Sep 2026 21:08:35 +0200 Subject: ... --- user-profiles/core.nix | 5 ++++- user-profiles/zsh/default.nix | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'user-profiles') diff --git a/user-profiles/core.nix b/user-profiles/core.nix index 57fb7628..7034f17e 100644 --- a/user-profiles/core.nix +++ b/user-profiles/core.nix @@ -1,4 +1,4 @@ -{ flake, flakeInputs, path, userName, config, lib, utils, ... }: +{ flake, flakeInputs, sources, path, userName, config, lib, utils, ... }: with lib; @@ -6,6 +6,9 @@ with lib; config = { users.users.${userName} = {}; # Just make sure the user is created home-manager.users.${userName} = let sysConfig = config; in { config, ... }: { + config._module.args = { + inherit sysConfig flake flakeInputs sources; + }; config.nix.settings = { inherit (sysConfig.nix.settings) use-xdg-base-directories; }; diff --git a/user-profiles/zsh/default.nix b/user-profiles/zsh/default.nix index 7821d99a..a89da267 100644 --- a/user-profiles/zsh/default.nix +++ b/user-profiles/zsh/default.nix @@ -1,11 +1,11 @@ -{ userName, pkgs, customUtils, lib, config, ... }: +{ userName, pkgs, customUtils, lib, ... }: { config = { nixpkgs.externalConfig.allowUnfreePackages = [ "zsh-abbr" ]; - home-manager.users.${userName} = let sysConfig = config; in { config, ... }: { + home-manager.users.${userName} = { sysConfig, config, ... }: { config = { programs.zsh = { dotDir = "${config.xdg.configHome}/zsh"; -- cgit v1.2.3