refactor(systemModules:kdeconnect): change to always enable
This commit is contained in:
parent
8798c30cf2
commit
c69b0d57e3
1 changed files with 3 additions and 12 deletions
|
|
@ -1,16 +1,7 @@
|
||||||
{ 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 {
|
|
||||||
programs.kdeconnect = {
|
programs.kdeconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue