@@ -26,17 +26,7 @@ in
26 This will switch to a new virtual terminal, turn off console
26 This will switch to a new virtual terminal, turn off console
27 switching and disable SysRq mechanism (when
27 switching and disable SysRq mechanism (when
28 <option>services.physlock.disableSysRq</option> is set)
28 <option>services.physlock.disableSysRq</option> is set)
29− until the root or <option>services.physlock.user</option>
30− password is given.
29+ until the root or user password is given.
35− type = types.nullOr types.str;
38− User whose password will be used to unlock the screen on par
39− with the root password.
@@ -105,7 +95,7 @@ in
105 ++ cfg.lockOn.extraTargets;
95 ++ cfg.lockOn.extraTargets;
106 serviceConfig.Type = "forking";
96 serviceConfig.Type = "forking";
107 script = ''
97 script = ''
108− ${pkgs.physlock}/bin/physlock -d${optionalString cfg.disableSysRq "s"}${optionalString (cfg.user != null) " -u ${cfg.user}"}
98+ ${pkgs.physlock}/bin/physlock -d${optionalString cfg.disableSysRq "s"}