From f0afc31e0fc738aee250597bd3c21420319e3606 Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 14 Feb 2023 19:38:10 +0100 Subject: [PATCH] Update 'configuration.nix' --- configuration.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index c1ac025..6e60ce5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -102,6 +102,9 @@ ]; }; +boot.tmpOnTmpfs = true; +boot.cleanTmpDir = true; + # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -124,6 +127,8 @@ git ]; +boot.tmpOnTmpfs = true; +boot.cleanTmpDir = true; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. @@ -151,12 +156,4 @@ git # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "22.05"; # Did you read the comment? - - - -#source of this code: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/nixos/modules/system/boot/tmp.nix - -boot.tmpOnTmpfs = true; -boot.cleanTmpDir = true; - } \ No newline at end of file