modules!!!
This commit is contained in:
parent
eb1a4786f4
commit
6f1ebdcc9a
24 changed files with 877 additions and 574 deletions
17
modules/desktop/kdeconnect.nix
Normal file
17
modules/desktop/kdeconnect.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.jade.desktop.kdeconnect;
|
||||
in with lib; {
|
||||
options.jade.desktop.kdeconnect = {
|
||||
enable = mkEnableOption "Enable KDE connect";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.kdeconnect.enable = true;
|
||||
home-manager.users.jade = { pkgs, ... }: {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue