Compare commits

...
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -24,6 +24,12 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.consoleLogLevel = 2;
# /tmp in RAM, nix builds go to /var/tmp instead (see settings.nix)
boot.tmp = {
useTmpfs = true;
tmpfsSize = "50%";
};
# Add boot-related packages
environment.systemPackages = with pkgs; [
efibootmgr
+3
View File
@@ -27,6 +27,9 @@
};
};
# build on disk, big builds would fill the /tmp tmpfs
systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";
# steam, protonvpn, discord, etc.
nixpkgs.config.allowUnfree = true;