@@ -26,17 +26,7 @@ in
2626 This will switch to a new virtual terminal, turn off console
2727 switching and disable SysRq mechanism (when
2828 <option>services.physlock.disableSysRq</option> is set)
29− until the root or <option>services.physlock.user</option>
30− password is given.
31− '';
32− };
33−
34− user = mkOption {
35− type = types.nullOr types.str;
36− default = null;
37− description = ''
38− User whose password will be used to unlock the screen on par
39− with the root password.
29+ until the root or user password is given.
4030 '';
4131 };
4232
@@ -105,7 +95,7 @@ in
10595 ++ cfg.lockOn.extraTargets;
10696 serviceConfig.Type = "forking";
10797 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"}
10999 '';
110100 };
111101