betterlockscreen: limit to platform linux

This commit is contained in:
Robert Helgesson 2021-09-07 07:55:17 +02:00
parent 5e46262cb1
commit 0dab813748
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 5 additions and 0 deletions

View File

@ -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 = {