mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 12:33:15 -05:00
Adding KDE Connect
This commit is contained in:
parent
d9a31666ce
commit
1123feb091
2 changed files with 33 additions and 7 deletions
20
modules/common/utilities/kdeconnect.nix
Normal file
20
modules/common/utilities/kdeconnect.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
kdeconnect = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable KDE Connect";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.kdeconnect.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
package = pkgs.kdePackages.kdeconnect-kde;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue