Update 'configuration.nix'
This commit is contained in:
parent
87cbe0412b
commit
f0afc31e0f
1 changed files with 5 additions and 8 deletions
|
@ -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;
|
||||
|
||||
}
|
Loading…
Reference in a new issue