Compare commits
2 commits
d1d0d78349
...
589e185170
Author | SHA1 | Date | |
---|---|---|---|
Tigor Hutasuhut | 589e185170 | ||
Tigor Hutasuhut | 0cd254e942 |
|
@ -27,6 +27,7 @@ in
|
|||
./swaync.nix
|
||||
./ntfy-sh.nix
|
||||
./gnome-keyring.nix
|
||||
./kdeconnect.nix
|
||||
|
||||
./wallust
|
||||
];
|
||||
|
|
26
home/modules/hyprland/kdeconnect.nix
Normal file
26
home/modules/hyprland/kdeconnect.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
unstable,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.profile.microsoft-edge;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable { home.packages = [ unstable.microsoft-edge ]; };
|
||||
config = lib.mkIf cfg.enable { home.packages = [ pkgs.microsoft-edge ]; };
|
||||
}
|
||||
|
|
|
@ -57,6 +57,8 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
meslo-lgs-nf
|
||||
font-awesome
|
||||
|
|
Loading…
Reference in a new issue