Add distrobox to global packages, setup firewall rules for kdeconnect, autostart kdeconnect indicator on niri start

This commit is contained in:
Curt Spark 2024-08-13 20:06:18 +01:00
parent 35ebd4983a
commit 758e2c79a3
4 changed files with 16 additions and 5 deletions

View File

@ -93,6 +93,7 @@ fi
unityhub unityhub
veracrypt veracrypt
boxbuddy boxbuddy
distrobox
qdirstat qdirstat
kid3 kid3
ffmpeg ffmpeg

View File

@ -257,10 +257,19 @@
# Open ports in the firewall. # Open ports in the firewall.
# 3240 - USBIP Port # 3240 - USBIP Port
networking.firewall.allowedTCPPorts = [ 3240 ]; # 1714 to 1764 - KDEConnect
# networking.firewall.allowedUDPPorts = [ ... ]; networking.firewall = {
allowedTCPPorts = [ 3240 ];
allowedTCPPortRanges = [
{ from = 1714; to = 1764; }
];
# allowedUDPPorts = [ ... ];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; }
];
# Or disable the firewall altogether. # Or disable the firewall altogether.
networking.firewall.enable = true; enable = true;
};
services.udev.extraRules = '' services.udev.extraRules = ''
## Rules file for NetMD devices and HiMD devices in NetMD mode ## Rules file for NetMD devices and HiMD devices in NetMD mode

View File

@ -36,6 +36,7 @@ in
mako & mako &
swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png & swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png &
wlsunset -l 51.5 -L 0.1 & wlsunset -l 51.5 -L 0.1 &
kdeconnect-indicator &
# Xwayland support via xwayland-satellite-flake # Xwayland support via xwayland-satellite-flake
export DISPLAY=":0" export DISPLAY=":0"

View File

@ -106,7 +106,7 @@ in
}; };
script = ''echo device_specific > "/sys/bus/pci/devices/${cfg.gpuPCI}/reset_method"''; script = ''echo device_specific > "/sys/bus/pci/devices/${cfg.gpuPCI}/reset_method"'';
}; };
hardware.opengl.enable = true; hardware.graphics.enable = true;
virtualisation.spiceUSBRedirection.enable = true; virtualisation.spiceUSBRedirection.enable = true;
}; };
} }