refactor: moved the list inside the helper

This commit is contained in:
Nick 2025-03-21 18:53:07 -05:00
parent 4306036758
commit e57fdb85e7

View file

@ -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;
}
];
};