summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-18 22:03:25 +0100
committerlassulus <lassulus@lassul.us>2018-03-18 22:03:25 +0100
commitfa724ceab0f5f10b253d806326b7c917814412eb (patch)
tree3eddc531521a2834335d3588f595f1115aabfede /lass
parent8a0e77e2bbe8147e81ccbf1039a6590369b6100d (diff)
l: use xlockmore as lockscreen
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/helios/config.nix2
-rw-r--r--lass/3modules/screenlock.nix4
2 files changed, 2 insertions, 4 deletions
diff --git a/lass/1systems/helios/config.nix b/lass/1systems/helios/config.nix
index c4a171d86..e64cfbe79 100644
--- a/lass/1systems/helios/config.nix
+++ b/lass/1systems/helios/config.nix
@@ -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;
users.users.mainUser.extraGroups = [ "adbusers" "docker" ];
diff --git a/lass/3modules/screenlock.nix b/lass/3modules/screenlock.nix
index e16ce9868..29c3861f2 100644
--- a/lass/3modules/screenlock.nix
+++ b/lass/3modules/screenlock.nix
@@ -14,7 +14,7 @@ let
enable = mkEnableOption "screenlock";
command = mkOption {
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 = {
SyslogIdentifier = "screenlock";
ExecStart = cfg.command;
- Type = "forking";
+ Type = "simple";
User = "lass";
};
};