Read config from linux key

This commit is contained in:
Manuel Thalmann 2024-09-12 21:48:05 +02:00
parent f4045ec38e
commit 6c0e1a0767

View file

@ -6,7 +6,7 @@ set -l users (getUsers)
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)
function getUserConfig -V name -a config
getConfig "valhalla.users.$name.$config" $argv[2..]
getConfig "valhalla.linux.users.$name.$config" $argv[2..]
end
set -l groups (getUserConfig groups --apply 'builtins.concatStringsSep ","');