From 0dab813748b86c5bde5fdfebcbce4bc184c93b32 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 7 Sep 2021 07:55:17 +0200 Subject: [PATCH] betterlockscreen: limit to platform linux --- modules/services/betterlockscreen.nix | 5 +++++ 1 file changed, 5 insertions(+) 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 = {