ok, _module.args
is not the solution I am looking for. still limited to a single user for now
This commit is contained in:
parent
34874dd592
commit
65e0b4932e
3 changed files with 6 additions and 16 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue