options/machine: allow to define users without wheel
This commit is contained in:
parent
87e83f336f
commit
88a6a90ab2
10 changed files with 26 additions and 25 deletions
|
@ -76,7 +76,7 @@ in
|
|||
"/etc/ssh/ssh_host_rsa_key"
|
||||
"/etc/ssh/ssh_host_rsa_key.pub"
|
||||
];
|
||||
users = listToAttrs (map persistUser config.machine.administrators);
|
||||
users = listToAttrs (map persistUser config.machine.users);
|
||||
};
|
||||
|
||||
# link current home manager profile if it exists
|
||||
|
@ -91,6 +91,6 @@ in
|
|||
ln -sfn /home/${name}/.local/state/nix/profiles/profile /home/${name}/.nix-profile
|
||||
fi
|
||||
''
|
||||
) config.machine.administrators
|
||||
) config.machine.users
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue