mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-12-02 03:16:36 +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" ];
|
||
|
};
|
||
|
}
|