jupyter: Create jupyter user as system user
Before, with services.jupyter.enable set but no user specified, user creation failed with: ``` error: Failed assertions: - Exactly one of users.users.jupyter.isSystemUser and users.users.jupyter.isNormalUser must be set. ``` Set isSystemUser to true when creating the jupyter user.
This commit is contained in:
parent
9675a865c9
commit
e2a8e4505f
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ in {
|
|||
extraGroups = [ cfg.group ];
|
||||
home = "/var/lib/jupyter";
|
||||
createHome = true;
|
||||
isSystemUser = true;
|
||||
useDefaultShell = true; # needed so that the user can start a terminal.
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue