mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 10:09:45 +01: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 {
|
config = mkIf cfg.enable {
|
||||||
|
assertions = [
|
||||||
|
(lib.hm.assertions.assertPlatform "services.betterlockscreen" pkgs
|
||||||
|
lib.platforms.linux)
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = [ cfg.package ];
|
home.packages = [ cfg.package ];
|
||||||
|
|
||||||
services.screen-locker = {
|
services.screen-locker = {
|
||||||
|
|
Loading…
Reference in a new issue