fix(home): Disable screenlocking on generic Linux
It's broken - won't accept correct passwords
This commit is contained in:
parent
b72c4a2150
commit
59e99a54a7
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue