From de798188e5c57393f2d4333f6d618e86d4200578 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Thu, 1 Jan 2026 18:57:02 +0800 Subject: [PATCH] feat: Add kdeconnect module --- nixos/configurations/Tytonidae/default.nix | 1 + nixos/modules/programs/kdeconnect.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 nixos/modules/programs/kdeconnect.nix diff --git a/nixos/configurations/Tytonidae/default.nix b/nixos/configurations/Tytonidae/default.nix index c6a32e4..352a1a6 100644 --- a/nixos/configurations/Tytonidae/default.nix +++ b/nixos/configurations/Tytonidae/default.nix @@ -51,6 +51,7 @@ garage.enable = true; # emacs.enable = true; sunshine.enable = true; + kdeconnect.enable = true; }; }; diff --git a/nixos/modules/programs/kdeconnect.nix b/nixos/modules/programs/kdeconnect.nix new file mode 100644 index 0000000..44e4acd --- /dev/null +++ b/nixos/modules/programs/kdeconnect.nix @@ -0,0 +1,18 @@ +{ + lib, + config, + ... +}: let + cfg = config.youthlic.programs.kdeconnect; +in { + options = { + youthlic.programs.kdeconnect = { + enable = lib.mkEnableOption "kdeconnect"; + }; + }; + config = lib.mkIf cfg.enable { + programs.kdeconnect = { + enable = true; + }; + }; +}