1
1
Fork 0

Add user group to inquisitor

This commit is contained in:
root 2022-01-07 21:23:56 -08:00
parent 0ee2c50a97
commit 255ccddd51
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ let
# Define the inquisitor service user # Define the inquisitor service user
inquisitorUser = { inquisitorUser = {
name = "inquisitor"; name = "inquisitor";
group = "inquisitor";
description = "Inquisitor service user"; description = "Inquisitor service user";
isSystemUser = true; isSystemUser = true;
shell = pkgs.bashInteractive; shell = pkgs.bashInteractive;
@ -77,6 +78,7 @@ let
in in
{ {
users.users.inquisitor = inquisitorUser; users.users.inquisitor = inquisitorUser;
users.groups.inquisitor = {};
# Link the config in /etc to avoid envvar shenanigans # Link the config in /etc to avoid envvar shenanigans
environment.etc."inquisitor.conf".source = "${inquisitorConfig}"; environment.etc."inquisitor.conf".source = "${inquisitorConfig}";