diff --git a/modules/services/betterlockscreen.nix b/modules/services/betterlockscreen.nix index 970f0772..5d6387f8 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 = {