mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ in {
|
||||||
extraGroups = [ cfg.group ];
|
extraGroups = [ cfg.group ];
|
||||||
home = "/var/lib/jupyter";
|
home = "/var/lib/jupyter";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
isSystemUser = true;
|
||||||
useDefaultShell = true; # needed so that the user can start a terminal.
|
useDefaultShell = true; # needed so that the user can start a terminal.
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue