ok, _module.args is not the solution I am looking for. still limited to a single user for now

This commit is contained in:
Chris Kruining 2025-03-18 23:05:20 +01:00
parent 34874dd592
commit 65e0b4932e
3 changed files with 6 additions and 16 deletions

View file

@ -22,12 +22,11 @@ in rec
group = "users";
};
mkHmUser = path: stateVersion: let
# user = import path {};
mkHmUser = path: args@{stateVersion, ...}: let
name = removeSuffix ".nix" (baseNameOf path);
in
{
# imports = (mapModulesRec' ../modules/home (file: file));
# imports = (mapModulesRec' ../modules/home (file: import file (args // { user = name; })));
home = {
inherit stateVersion;
sessionPath = [ "$SNEEUWVLOK_BIN" "$XDG_BIN_HOME" "$PATH" ]; # Pretty sure I don't need this.