fix(home): Disable screenlocking on generic Linux

It's broken - won't accept correct passwords
This commit is contained in:
punkfairie 2024-11-24 18:18:47 -08:00
parent b72c4a2150
commit 59e99a54a7
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -14,9 +14,10 @@ let
listToAttrs
getExe
;
inherit (lib.marleyos) enabled;
inherit (lib.marleyos) enabled disabled;
cfg = config.marleyos.xorg.i3;
isGenericLinux = config.targets.genericLinux.enable;
in
{
options.marleyos.xorg.i3.enable = mkEnableOption "i3";
@ -28,7 +29,8 @@ in
dunst = enabled;
picom = enabled;
polybar = enabled;
screen-locker = enabled;
# broken on non-nixOS
screen-locker = if isGenericLinux then enabled else disabled;
};
};