diff --git a/modules/home/xorg/i3/default.nix b/modules/home/xorg/i3/default.nix index 491bf8e..16100c2 100644 --- a/modules/home/xorg/i3/default.nix +++ b/modules/home/xorg/i3/default.nix @@ -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; }; };