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