Add user group to inquisitor
This commit is contained in:
parent
0ee2c50a97
commit
255ccddd51
|
@ -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}";
|
||||||
|
|
Loading…
Reference in New Issue