l: use xlockmore as lockscreen
This commit is contained in:
parent
8a0e77e2bb
commit
fa724ceab0
@ -168,8 +168,6 @@ with import <stockholm/lib>;
|
|||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
lass.screenlock.command = "${pkgs.i3lock}/bin/i3lock -i /home/lass/lock.png -t -f";
|
|
||||||
|
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
users.users.mainUser.extraGroups = [ "adbusers" "docker" ];
|
users.users.mainUser.extraGroups = [ "adbusers" "docker" ];
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ let
|
|||||||
enable = mkEnableOption "screenlock";
|
enable = mkEnableOption "screenlock";
|
||||||
command = mkOption {
|
command = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "${pkgs.i3lock}/bin/i3lock -i /var/lib/wallpaper/wallpaper -f";
|
default = "${pkgs.xlockmore}/bin/xlock -mode life1d -size 1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ let
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
SyslogIdentifier = "screenlock";
|
SyslogIdentifier = "screenlock";
|
||||||
ExecStart = cfg.command;
|
ExecStart = cfg.command;
|
||||||
Type = "forking";
|
Type = "simple";
|
||||||
User = "lass";
|
User = "lass";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user