almost there for multiple users????
This commit is contained in:
parent
f40207c455
commit
ce69116c39
8 changed files with 68 additions and 50 deletions
15
lib/user.nix
15
lib/user.nix
|
@ -16,14 +16,11 @@ in rec
|
|||
group = "users";
|
||||
};
|
||||
|
||||
mkHmUser = path: args@{stateVersion, ...}: let
|
||||
name = removeSuffix ".nix" (baseNameOf path);
|
||||
in
|
||||
{
|
||||
# imports = (mapModulesRec' ../modules/home (file: import file (args // { user = name; })));
|
||||
home = {
|
||||
inherit stateVersion;
|
||||
sessionPath = [ "$XDG_BIN_HOME" "$PATH" ]; # Pretty sure I don't need this.
|
||||
};
|
||||
mkHmUser = path: {stateVersion, ...}:
|
||||
{
|
||||
home = {
|
||||
inherit stateVersion;
|
||||
sessionPath = [ "$XDG_BIN_HOME" "$PATH" ]; # Pretty sure I don't need this.
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue