Read config from linux
key
This commit is contained in:
parent
e39d0dc2c2
commit
c6877056de
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ set -l users (getUsers)
|
||||||
|
|
||||||
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)
|
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)
|
||||||
function getUserConfig -V name -a config
|
function getUserConfig -V name -a config
|
||||||
getConfig "valhalla.users.$name.$config" $argv[2..]
|
getConfig "valhalla.linux.users.$name.$config" $argv[2..]
|
||||||
end
|
end
|
||||||
|
|
||||||
set -l groups (getUserConfig groups --apply 'builtins.concatStringsSep ","');
|
set -l groups (getUserConfig groups --apply 'builtins.concatStringsSep ","');
|
||||||
|
|
Loading…
Reference in a new issue