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

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