thelio76: add kdeconnect
This commit is contained in:
parent
f96268c640
commit
1e1ef18bac
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
package = pkgs.kdePackages.kdeconnect-kde;
|
||||
indicator = true;
|
||||
};
|
||||
}
|
|
@ -101,6 +101,12 @@
|
|||
networking.firewall = {
|
||||
allowedUDPPorts = [ 51820 22000 ]; # Clients and peers can use the same port, see listenport
|
||||
allowedTCPPorts = [ 22000 48412 62109 ];
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
# Enable WireGuard
|
||||
|
|
|
@ -93,6 +93,38 @@
|
|||
pulse.enable = true;
|
||||
};
|
||||
|
||||
# Enable Syncthing
|
||||
# service.syncthing = {
|
||||
# enable = true;
|
||||
# dataDir = "/home/alex";
|
||||
# openDefaultPorts = true;
|
||||
# configDir = "/home/alex/.config/syncthing";
|
||||
# user = "alex";
|
||||
# group = "users";
|
||||
# guiAddress = "127.0.0.1:8384";
|
||||
# declarative = {
|
||||
# overrideDevices = true;
|
||||
# overrideFolders = true;
|
||||
# devices = {
|
||||
# "laptop" = { id = "REALLY-LONG-LAPTOP-SYNCTHING-KEY-HERE"; };
|
||||
# "coredns-server" = { id = "REALLY-LONG-COREDNS-SERVER-SYNCTHING-KEY-HERE"; };
|
||||
# };
|
||||
# folders = {
|
||||
# "code" = {
|
||||
# path = "/home/alex/code";
|
||||
# devices = [ "laptop" ];
|
||||
# versioning = {
|
||||
# type = "staggered";
|
||||
# params = {
|
||||
# cleanInterval = "3600";
|
||||
# maxAge = "15768000";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.alex = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
../../apps/bash
|
||||
../../apps/firefox.nix
|
||||
../../apps/git.nix
|
||||
../../apps/kdeconnect.nix
|
||||
../../apps/kitty.nix
|
||||
../../apps/mpv.nix
|
||||
../../apps/nextcloud.nix
|
||||
|
|
Loading…
Reference in New Issue