Skip to content

Commit

Permalink
feat: Add kdeconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
lpchaim committed Oct 11, 2024
1 parent f1337f3 commit fe7d5fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/home/gui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgs,
lib,
...
}:
} @ args:
with lib; let
namespace = ["my" "modules" "gui"];
cfg = getAttrFromPath namespace config;
Expand Down Expand Up @@ -40,6 +40,11 @@ in {
};

services = {
kdeconnect = mkIf (args ? osConfig) {
inherit (args.osConfig.programs.kdeconnect) package;
enable = true;
indicator = true;
};
nextcloud-client = {
enable = true;
startInBackground = true;
Expand Down
6 changes: 6 additions & 0 deletions modules/nixos/kdeconnect/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{config, ...}: {
environment.systemPackages = [
config.programs.kdeconnect.package
];
programs.kdeconnect.enable = true;
}

0 comments on commit fe7d5fc

Please sign in to comment.