diff --git a/modules/services/betterlockscreen.nix b/modules/services/betterlockscreen.nix index 970f07728..5d6387f81 100644 --- a/modules/services/betterlockscreen.nix +++ b/modules/services/betterlockscreen.nix @@ -37,6 +37,11 @@ in { }; config = mkIf cfg.enable { + assertions = [ + (lib.hm.assertions.assertPlatform "services.betterlockscreen" pkgs + lib.platforms.linux) + ]; + home.packages = [ cfg.package ]; services.screen-locker = {