From c46f56c35e2f43a2a3dea8d28d38a8e58209105f Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Wed, 14 Jun 2023 23:47:40 +0200 Subject: [PATCH] [nix] Configure nix --- nix/hosts/alymac/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nix/hosts/alymac/default.nix b/nix/hosts/alymac/default.nix index 29c9744..af7d47d 100644 --- a/nix/hosts/alymac/default.nix +++ b/nix/hosts/alymac/default.nix @@ -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;