mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-29 22:11:27 +00:00
16 lines
280 B
Nix
16 lines
280 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.selfprivacy-api = {
|
|
enable = true;
|
|
};
|
|
|
|
users.users."selfprivacy-api" = {
|
|
isNormalUser = false;
|
|
isSystemUser = true;
|
|
extraGroups = [ "opendkim" ];
|
|
};
|
|
users.groups."selfprivacy-api" = {
|
|
members = [ "selfprivacy-api" ];
|
|
};
|
|
}
|