This commit is contained in:
2023-11-09 09:38:02 +01:00
parent f9e3ec6f58
commit f5b5c2c99b
15 changed files with 150 additions and 58 deletions

View File

@@ -6,7 +6,7 @@
firewall = {
enable = true;
checkReversePath = false;
allowedTCPPorts = [ 80 443 ];
allowedTCPPorts = [ 80 443 8080 ];
allowedUDPPorts = [];
};
};

View File

@@ -20,7 +20,20 @@
pathsToLink = [ "/share/zsh" ];
};
hardware.opengl.enable = true;
hardware.opengl = {
enable = true;
# Vulkan
driSupport = true;
driSupport32Bit = true;
# VA-API
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
nvidia-vaapi-driver
];
};
# Programs
programs = {

View File

@@ -2,6 +2,7 @@
{
# List services that you want to enable:
services = {
usbmuxd.enable = true;
xserver = {
layout = "be";
xkbVariant = "nodeadkeys";
@@ -16,7 +17,7 @@
spice-vdagentd.enable = true;
gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
# package = lib.mkForce pkgs.gnome3.gvfs;
};
pipewire = {
@@ -28,6 +29,9 @@
};
udev.packages = with pkgs; [
via
platformio
platformio-core.udev
openocd
];
printing = {
enable = true;

View File

@@ -17,6 +17,9 @@
mangohud
nvidia-vaapi-driver
egl-wayland
libimobiledevice
ifuse
idevicerestore
];
};

View File

@@ -62,7 +62,7 @@
modesetting.enable = true;
open = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
# package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
};
};
}