replace nix-rosetta-builder with simple nix.linux-builder I don't need x86_64 builds for anything and there's apparently a performance drop by simply enabling rosetta on a VM
3 files changed, 4 insertions(+), 35 deletions(-)
changed files
M flake.lock → flake.lock
@@ -606,26 +606,6 @@ "repo": "nix-darwin", "type": "github" } }, - "nix-rosetta-builder": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1770491098, - "narHash": "sha256-ZfhynJqgV3A9hEivcgOEZa+TZnJPc26lIUjzKsSchgI=", - "owner": "cpick", - "repo": "nix-rosetta-builder", - "rev": "50e6070082e0b4fbaf67dd8f346892a1a9ed685c", - "type": "github" - }, - "original": { - "owner": "cpick", - "repo": "nix-rosetta-builder", - "type": "github" - } - }, "nixcord": { "inputs": { "flake-compat": "flake-compat_2",@@ -945,7 +925,6 @@ "home-manager": "home-manager", "minimal-emacs": "minimal-emacs", "mycal": "mycal", "nanopi": "nanopi", - "nix-rosetta-builder": "nix-rosetta-builder", "nixcord": "nixcord", "nixos-generators": "nixos-generators", "nixos-hardware": "nixos-hardware",
M flake.nix → flake.nix
@@ -24,10 +24,6 @@ nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; }; - nix-rosetta-builder = { - url = "github:cpick/nix-rosetta-builder"; - inputs.nixpkgs.follows = "nixpkgs"; - }; nur = { url = "github:nix-community/nur"; inputs.nixpkgs.follows = "nixpkgs";@@ -172,7 +168,6 @@ nixpkgs.overlays = [ angrr.overlays.default ]; } - nix-rosetta-builder.darwinModules.default srvos.darwinModules.desktop angrr.darwinModules.angrr ./system/hosts/marvin.nix
M system/hosts/marvin.nix → system/hosts/marvin.nix
@@ -107,18 +107,13 @@ ]; }; nix.linux-builder = { - enable = false; + enable = true; systems = [ - "x86_64-linux" "aarch64-linux" ]; speedFactor = 8; - }; - - nix-rosetta-builder = { - enable = false; - memory = "32GiB"; - onDemand = true; - onDemandLingerMinutes = 180; + config = { + virtualisation.cores = 4; + }; }; }