home/screen-locker: init

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-08 12:42:12 +02:00
parent 29c1fd0b89
commit c5ceb25ab0
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,7 @@ in {
./services/mpd.nix
./services/picom.nix
./services/polybar.nix
./services/screen-locker.nix
./services/stalonetray.nix
./services/sxhkd.nix
./services/copyq.nix

View File

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }:
{
services.screen-locker = {
enable = true;
lockCmd = lib.getExe pkgs.i3lock-fancy;
};
}

View File

@ -50,6 +50,8 @@ in
# Misc
"super + l" = "loginctl lock-session";
"super + a" = "${pkgs.copyq}/bin/copyq toggle";
# fcitx "super + {b,n,m}" = "${pkgs.fcitx}/bin/fcitx-remote -s {mozc,fcitx-keyboard-no,fcitx-keyboard-us}";