feat(home-utils): add kde-connect
This commit is contained in:
parent
5413ea8c50
commit
9da86a9fa3
3 changed files with 23 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
./btop.nix
|
./btop.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./easyeffects.nix
|
./easyeffects.nix
|
||||||
|
./kde-connect.nix
|
||||||
./udiskie.nix
|
./udiskie.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
home/utils/kde-connect.nix
Normal file
6
home/utils/kde-connect.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
services.kdeconnect = {
|
||||||
|
enable = true;
|
||||||
|
indicator = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -15,5 +15,21 @@
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
useDHCP = lib.mkDefault true;
|
useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
# open ports for kde connect
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 1714;
|
||||||
|
to = 1764;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 1714;
|
||||||
|
to = 1764;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue