1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-21 01:09:47 +01:00

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