diff --git a/home/default.nix b/home/default.nix index 3032d15..c33f413 100644 --- a/home/default.nix +++ b/home/default.nix @@ -6,6 +6,7 @@ ./desktop ./hyprland ./hyprlock + ./services ./foot.nix ./rofi ./sway diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 3671acb..9154a84 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -21,7 +21,7 @@ lib.mkIf osConfig.programs.hyprland.enable { exec-once = [ "${pkgs.nextcloud-client}/bin/nextcloud --background" - "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator" + "${config.services.kdeconnect.package}/bin/kdeconnect-indicator" "${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window" # keepassxc ignores themeing and doesnt show up in system tray otherwise diff --git a/home/services/default.nix b/home/services/default.nix new file mode 100644 index 0000000..d6bb0ca --- /dev/null +++ b/home/services/default.nix @@ -0,0 +1,3 @@ +{ + imports = [ ./kdeconnect.nix ]; +} diff --git a/home/services/kdeconnect.nix b/home/services/kdeconnect.nix new file mode 100644 index 0000000..268605f --- /dev/null +++ b/home/services/kdeconnect.nix @@ -0,0 +1,6 @@ +{ + config.services.kdeconnect = { + enable = true; + indicator = true; + }; +} diff --git a/home/sway/default.nix b/home/sway/default.nix index bee7638..3bf30b5 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -117,7 +117,7 @@ lib.mkIf osConfig.programs.sway.enable { #: Startup {{{ startup = [ { command = "${pkgs.nextcloud-client}/bin/nextcloud --background"; } - { command = "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator"; } + { command = "${config.services.kdeconnect.package}/bin/kdeconnect-indicator"; } { command = "${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"; } { command = "${pkgs.scripts.set-background}/bin/set-background -f ${wallpaper}"; diff --git a/hosts/brontes/home.nix b/hosts/brontes/home.nix index ad54261..1968f65 100644 --- a/hosts/brontes/home.nix +++ b/hosts/brontes/home.nix @@ -40,7 +40,6 @@ packages = with pkgs; [ keepassxc - kdePackages.kdeconnect-kde nextcloud-client digikam fragments diff --git a/hosts/marr/default.nix b/hosts/marr/default.nix index 24c2e0a..8c06a70 100644 --- a/hosts/marr/default.nix +++ b/hosts/marr/default.nix @@ -164,7 +164,6 @@ environment.systemPackages = with pkgs; [ shared-mime-info nextcloud-client - kdePackages.kdeconnect-kde glib wireguard-tools dconf