diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index fc065973..32ee2ac9 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -24,6 +24,7 @@ apps = { keepassxc.enable = true; nicotineplus.enable = true; + kdeconnect.enable = true; }; chat = { discord.enable = true; diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index 1d4db826..fdc90863 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -2,5 +2,6 @@ imports = [ ./keepassxc ./nicotineplus + ./kdeconnect ]; } diff --git a/modules/desktop/apps/kdeconnect/default.nix b/modules/desktop/apps/kdeconnect/default.nix new file mode 100644 index 00000000..3001aec3 --- /dev/null +++ b/modules/desktop/apps/kdeconnect/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.kdeconnect; +in +{ + options.modules.desktop.apps.kdeconnect = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + kdeconnect + ]; + }; +}