ma
This commit is contained in:
		@@ -6,7 +6,7 @@
 | 
			
		||||
    firewall = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      checkReversePath = false;
 | 
			
		||||
      allowedTCPPorts = [ 80 443 ];
 | 
			
		||||
      allowedTCPPorts = [ 80 443 8080 ];
 | 
			
		||||
      allowedUDPPorts = [];
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 
 | 
			
		||||
@@ -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 = {
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,9 @@
 | 
			
		||||
      mangohud
 | 
			
		||||
      nvidia-vaapi-driver
 | 
			
		||||
      egl-wayland
 | 
			
		||||
      libimobiledevice
 | 
			
		||||
      ifuse
 | 
			
		||||
      idevicerestore
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user