[nix] Configure nix

This commit is contained in:
Alyxia Sother 2023-06-14 23:47:40 +02:00
parent fdcefe5c7e
commit c46f56c35e
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 13 additions and 0 deletions

View File

@ -119,6 +119,19 @@ let
in
{
nix = {
package = pkgs.nix;
settings = {
experimental-features = [ "nix-command" "flakes" ];
build-users-group = "nixbld";
};
gc = {
automatic = true;
options = "--delete-older-than 8d";
};
};
# Absolutely proprietary.
nixpkgs.config.allowUnfree = true;