fix: slurm and stuff

This commit is contained in:
2025-09-25 12:17:28 +02:00
parent 46cf9da93f
commit 3c0a7f91f5
5 changed files with 24 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ in {
};
os = {
externalInterface = "enp66s0np0";
externalInterface = "enp1s0np0";
nfs.enable = true;
nfs.exports = ''
/exports 172.16.239.0/24(insecure,rw,async,no_subtree_check,crossmnt,fsid=0,no_root_squash)
@@ -99,7 +99,8 @@ in {
networking = {
hostName = name;
interfaces.enp66s0np0 = {
interfaces.enp129s0f0.useDHCP = false;
interfaces.enp1s0np0 = {
useDHCP = false;
ipv4.addresses = [
{
@@ -147,6 +148,11 @@ in {
programs.singularity.enable = true;
boot.kernelParams = [
"amd_iommu=on" "iommu=pt"
];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_16;
imports = [
./hardware-configuration.nix
../default.nix

View File

@@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "mpt3sas" "ahci" "usbhid" "sd_mod" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "megaraid_sas" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];