This commit is contained in:
Kopatz
2024-12-02 12:20:07 +01:00
parent dbff418ce0
commit f6e72b0f72
7 changed files with 13 additions and 17 deletions

View File

@@ -78,7 +78,7 @@
};
};
services.ollama = {
enable = true;
enable = false;
acceleration = "cuda";
};
@@ -90,10 +90,8 @@
ifuse # optional, to mount using 'ifuse'
];
#nvidida drivers fail to build on new kernel https://github.com/NixOS/nixpkgs/issues/357643
boot.kernelPackages = lib.mkForce pkgs.linuxKernel.packages.linux_6_11;
nixpkgs.config.permittedInsecurePackages =
[ "electron-28.3.3" "electron-27.3.11" ];
[ "electron-27.3.11" ];
networking.firewall.allowedTCPPorts = [ 6567 ]; # mindustry
networking.firewall.allowedUDPPorts = [ 6567 ]; # mindustry