18 lines
372 B
Nix
18 lines
372 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ ... }:
|
|
{
|
|
users.users.content = {
|
|
isSystemUser = true;
|
|
group = "content";
|
|
};
|
|
users.groups.content = {};
|
|
|
|
users.users.lukegb.extraGroups = [ "content" ];
|
|
|
|
systemd.services.nginx.serviceConfig = {
|
|
SupplementaryGroups = [ "content" ];
|
|
};
|
|
}
|