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:
Davíð Steinn Geirsson 2021-08-30 01:54:14 +00:00
parent 9675a865c9
commit e2a8e4505f

View file

@ -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.
};
})