mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +00:00
betterlockscreen: limit to platform linux
This commit is contained in:
parent
5e46262cb1
commit
0dab813748
1 changed files with 5 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue