laksjdalksjd
This commit is contained in:
@@ -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: {
|
||||
# ...
|
||||
# });
|
||||
# }
|
||||
# )
|
||||
# ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
# zramSwap.enable = true;
|
||||
# zramSwap.memoryPercent = 20;
|
||||
|
||||
|
||||
# TODO: remove? Move?
|
||||
programs.dconf.enable = true;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user