Compare commits

...

2 commits

4 changed files with 31 additions and 2 deletions

View file

@ -27,6 +27,7 @@ in
./swaync.nix ./swaync.nix
./ntfy-sh.nix ./ntfy-sh.nix
./gnome-keyring.nix ./gnome-keyring.nix
./kdeconnect.nix
./wallust ./wallust
]; ];

View file

@ -0,0 +1,26 @@
{
config,
pkgs,
lib,
...
}:
let
hyprland = config.profile.hyprland;
inherit (lib) mkIf;
in
{
config = mkIf hyprland.enable {
services.kdeconnect = {
enable = true;
indicator = true;
};
systemd.user.services.kdeconnect-indicator.Service.ExecStart = lib.mkForce ''
${pkgs.dbus}/bin/dbus-launch ${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator
'';
systemd.user.services.kdeconnect.Service.ExecStart = lib.mkForce ''
${pkgs.dbus}/bin/dbus-launch ${pkgs.kdePackages.kdeconnect-kde}/libexec/kdeconnectd
'';
};
}

View file

@ -1,12 +1,12 @@
{ {
config, config,
lib, lib,
unstable, pkgs,
... ...
}: }:
let let
cfg = config.profile.microsoft-edge; cfg = config.profile.microsoft-edge;
in in
{ {
config = lib.mkIf cfg.enable { home.packages = [ unstable.microsoft-edge ]; }; config = lib.mkIf cfg.enable { home.packages = [ pkgs.microsoft-edge ]; };
} }

View file

@ -57,6 +57,8 @@ in
]; ];
}; };
programs.kdeconnect.enable = true;
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
meslo-lgs-nf meslo-lgs-nf
font-awesome font-awesome