laksjdalksjd

This commit is contained in:
2026-05-20 15:18:53 +02:00
parent 72a5ca6e5f
commit 775a2ee079
4 changed files with 22 additions and 4 deletions
+15
View File
@@ -43,6 +43,21 @@ lib.mkMerge [
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: {
# ...
# });
# }
# )
# ];
};
}
-1
View File
@@ -62,7 +62,6 @@
# zramSwap.enable = true;
# zramSwap.memoryPercent = 20;
# TODO: remove? Move?
programs.dconf.enable = true;
}
+6 -3
View File
@@ -85,9 +85,12 @@
networking.firewall.logRefusedConnections = false; # too spammy, rotates dmesg too quickly
# nixos-rebuild switch --specialisation no-firewall
specialisation.no-firewall.configuration = {
networking.firewall.enable = false;
services.fail2ban.enable = false; # requires firewall
specialisation = lib.mkIf (config.networking.firewall.enable && !config.virtualisation.isVmVariant) {
no-firewall.configuration = {
networking.firewall.enable = false;
services.fail2ban.enable = false; # requires firewall
};
};
security.sudo.execWheelOnly = true;
+1
View File
@@ -4,6 +4,7 @@
type = lib.types.bool;
default = false;
};
# to be used with 'lib.mkIf (!config.virtualisation.isVmVariant)'
config.virtualisation.vmVariant = {
virtualisation.isVmVariant = true;
};