mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
refactor: moved the list inside the helper
This commit is contained in:
parent
4306036758
commit
e57fdb85e7
1 changed files with 8 additions and 7 deletions
|
@ -27,13 +27,16 @@ let
|
|||
ceres
|
||||
]
|
||||
then
|
||||
user0
|
||||
[
|
||||
user0
|
||||
user1
|
||||
]
|
||||
else if hostname == charon then
|
||||
user1
|
||||
[ user1 ]
|
||||
else if hostname == venus then
|
||||
user2
|
||||
[ user2 ]
|
||||
else
|
||||
"";
|
||||
[ ];
|
||||
in
|
||||
{
|
||||
security = {
|
||||
|
@ -43,9 +46,7 @@ in
|
|||
{
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [
|
||||
userLogic
|
||||
];
|
||||
users = userLogic;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue