home: wm: use 'i3lock' with 'i3'

Rather than use it as the default, set it in the `i3` module.
This commit is contained in:
Bruno BELANYI 2026-04-04 16:18:54 +01:00
parent f02465091c
commit 537e16501b
2 changed files with 4 additions and 2 deletions

View file

@ -71,6 +71,9 @@ in
xdotool # Used by 'rofi-rbw', in a mapping
];
# Set `i3lock` as the (default) lock command
my.home.wm.screen-lock.command = lib.mkDefault "${lib.getExe pkgs.i3lock} -n -c 000000";
xsession.windowManager.i3 = {
enable = true;