Skip to content

Commit 132f2b4

Browse files
committed
feat(nixos): add overlay for stdenv with mold linker
1 parent c32926a commit 132f2b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nixos/config/nix.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@
33
settings.cores = 8;
44
optimise.automatic = true;
55
};
6+
7+
nixpkgs.overlays = [
8+
(final: prev: {
9+
stdenv = prev.stdenvAdapters.useMold prev.stdenv;
10+
})
11+
];
612
}

0 commit comments

Comments
 (0)