feat(kdeconnect): add kdeconnect service module
This commit is contained in:
parent
e2a517f609
commit
a2cd43b705
2 changed files with 18 additions and 0 deletions
17
system/modules/services/kdeconnect/default.nix
Normal file
17
system/modules/services/kdeconnect/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.systemModules.services.kdeconnect;
|
||||
in
|
||||
|
||||
{
|
||||
options.systemModules.services.kdeconnect.enable = mkEnableOption "Enable kdeconnect system module";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue