mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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
@ -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 New Issue
Block a user