[NixOS] Add unpriveleged

This commit is contained in:
Ivan Malison 2024-04-08 07:46:22 +00:00
parent b54cb9fceb
commit 1b44c66902

View File

@ -79,6 +79,11 @@ in
name = "micah"; name = "micah";
openssh.authorizedKeys.keys = kanivanKeys ++ micahKeys; openssh.authorizedKeys.keys = kanivanKeys ++ micahKeys;
}; };
unpriveleged = userDefaults // {
extraGroups = ["syncthing"];
name = "unpriveleged";
openssh.authorizedKeys.keys = [giteaSecret] ++ kanivanKeys;
};
}; };
nix.sshServe = { nix.sshServe = {