ADD kdeconnect

This commit is contained in:
Alexandre LUCAZEAU 2023-06-12 14:30:21 +02:00
parent 8de3cdf6a7
commit 1191cd5a62
4 changed files with 28 additions and 2 deletions

View File

@ -119,8 +119,16 @@
enable = true;
unmanaged = [ "interface-name:ve-*" ];
};
firewall.enable = true;
firewall.allowedTCPPorts = [ 24800 6600 1194];
firewall = {
enable = true;
allowedTCPPorts = [ 24800 6600 1194 ];
allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
};
};
i18n.defaultLocale = "fr_FR.UTF-8";
@ -157,6 +165,7 @@
# nix.gc.dates = "19:00";
# nix.gc.persistent = true;
# nix.gc.options = "--delete-older-than 60d";
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";

View File

@ -145,6 +145,7 @@ exec --no-startup-id udiskie -t
exec --no-startup-id blueman-applet
exec --no-startup-id vlc
exec --no-startup-id guake
exec --no-startup-id kdeconnect-indicator
exec --no-startup-id i3-msg 'workspace $ws9; exec keepassxc;'
#exec --no-startup-id i3-msg 'workspace $ws5; exec emacs;'
exec --no-startup-id i3-msg 'workspace $ws1; exec ferdi;'

View File

@ -10,6 +10,7 @@
./mails.nix
./dunst.nix
./bat.nix
./kdeconnect.nix
# ./redshift.nix
# ../../../modules/neovim.nix
../../../modules/rust.nix

View File

@ -0,0 +1,15 @@
{ pkgs, ... }: {
services.kdeconnect = {
enable = true;
};
}
# networking.firewall = {
# enable = true;
# allowedTCPPortRanges = [
# { from = 1714; to = 1764; } # KDE Connect
# ];
# allowedUDPPortRanges = [
# { from = 1714; to = 1764; } # KDE Connect
# ];
# }