Add distrobox to global packages, setup firewall rules for kdeconnect, autostart kdeconnect indicator on niri start
This commit is contained in:
parent
35ebd4983a
commit
758e2c79a3
|
|
@ -93,6 +93,7 @@ fi
|
|||
unityhub
|
||||
veracrypt
|
||||
boxbuddy
|
||||
distrobox
|
||||
qdirstat
|
||||
kid3
|
||||
ffmpeg
|
||||
|
|
|
|||
17
global.nix
17
global.nix
|
|
@ -257,10 +257,19 @@
|
|||
|
||||
# Open ports in the firewall.
|
||||
# 3240 - USBIP Port
|
||||
networking.firewall.allowedTCPPorts = [ 3240 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = true;
|
||||
# 1714 to 1764 - KDEConnect
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 3240 ];
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; }
|
||||
];
|
||||
# allowedUDPPorts = [ ... ];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; }
|
||||
];
|
||||
# Or disable the firewall altogether.
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
## Rules file for NetMD devices and HiMD devices in NetMD mode
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ in
|
|||
mako &
|
||||
swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png &
|
||||
wlsunset -l 51.5 -L 0.1 &
|
||||
kdeconnect-indicator &
|
||||
|
||||
# Xwayland support via xwayland-satellite-flake
|
||||
export DISPLAY=":0"
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ in
|
|||
};
|
||||
script = ''echo device_specific > "/sys/bus/pci/devices/${cfg.gpuPCI}/reset_method"'';
|
||||
};
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue