File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# A default configuration that applies to all servers.
2
2
# Common configuration across *all* the machines
3
- { config , lib , ... } :
3
+ { config , lib , options , ... } :
4
4
{
5
5
6
6
imports = [
15
15
./zfs.nix
16
16
] ;
17
17
18
+ # Create users with https://github.com/nikstur/userborn rather than our perl script.
19
+ # Don't enable if we detect impermanence, which is not compatible with it: https://github.com/nix-community/impermanence/pull/223
20
+ services . userborn . enable = lib . mkDefault ( options . environment ? persistence ) ;
21
+
18
22
# Use systemd during boot as well except:
19
23
# - systems with raids as this currently require manual configuration: https://github.com/NixOS/nixpkgs/issues/210210
20
24
# - for containers we currently rely on the `stage-2` init script that sets up our /etc
You can’t perform that action at this time.
0 commit comments