laksjdalksjd
This commit is contained in:
@@ -43,6 +43,21 @@ lib.mkMerge [
|
|||||||
ncclSupport = false;
|
ncclSupport = false;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# openusd is too slow to build
|
||||||
|
opensubdiv = pkgs.opensubdiv.override {
|
||||||
|
cudaSupport = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# pythonPackagesExtensions = pkgs.pythonPackagesExtensions ++ [
|
||||||
|
# (
|
||||||
|
# ps-final: ps-prev: {
|
||||||
|
# openusd = ps-prev.openusd.overridePythonAttrs (old: {
|
||||||
|
# ...
|
||||||
|
# });
|
||||||
|
# }
|
||||||
|
# )
|
||||||
|
# ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,6 @@
|
|||||||
# zramSwap.enable = true;
|
# zramSwap.enable = true;
|
||||||
# zramSwap.memoryPercent = 20;
|
# zramSwap.memoryPercent = 20;
|
||||||
|
|
||||||
|
|
||||||
# TODO: remove? Move?
|
# TODO: remove? Move?
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,9 +85,12 @@
|
|||||||
networking.firewall.logRefusedConnections = false; # too spammy, rotates dmesg too quickly
|
networking.firewall.logRefusedConnections = false; # too spammy, rotates dmesg too quickly
|
||||||
|
|
||||||
# nixos-rebuild switch --specialisation no-firewall
|
# nixos-rebuild switch --specialisation no-firewall
|
||||||
specialisation.no-firewall.configuration = {
|
|
||||||
networking.firewall.enable = false;
|
specialisation = lib.mkIf (config.networking.firewall.enable && !config.virtualisation.isVmVariant) {
|
||||||
services.fail2ban.enable = false; # requires firewall
|
no-firewall.configuration = {
|
||||||
|
networking.firewall.enable = false;
|
||||||
|
services.fail2ban.enable = false; # requires firewall
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.execWheelOnly = true;
|
security.sudo.execWheelOnly = true;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
# to be used with 'lib.mkIf (!config.virtualisation.isVmVariant)'
|
||||||
config.virtualisation.vmVariant = {
|
config.virtualisation.vmVariant = {
|
||||||
virtualisation.isVmVariant = true;
|
virtualisation.isVmVariant = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user