mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 06:39:09 -04:00
got unifi connected
This commit is contained in:
22
systems/jeeves/services_accounts.nix
Normal file
22
systems/jeeves/services_accounts.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
sops.secrets.unifi_password = {
|
||||
sopsFile = ../../users/secrets.yaml;
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
users = {
|
||||
|
||||
users.unifi = {
|
||||
isSystemUser = true;
|
||||
group = "unifi";
|
||||
extraGroups = [ "samba" ];
|
||||
hashedPasswordFile = "${config.sops.secrets.unifi_password.path}";
|
||||
};
|
||||
groups.unifi = { };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user