Make other desktop Home Manager modules togglable

This commit is contained in:
Oliver Davies 2024-11-26 08:27:14 +00:00
parent af9edbfe1a
commit 0baed7e6f6
12 changed files with 124 additions and 77 deletions

View file

@ -1 +1,9 @@
{ services.copyq.enable = true; }
{ config, lib, ... }:
{
options.features.desktop.copyq.enable = lib.mkEnableOption "Enable copyq";
config = lib.mkIf config.features.desktop.copyq.enable {
services.copyq.enable = true;
};
}