This commit is contained in:
Morten Olsen
2023-09-12 08:28:05 +02:00
commit 6a41699dc3
69 changed files with 2040 additions and 0 deletions

16
modules/basic/nix.nix Normal file
View File

@@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nix = {
package = pkgs.nixUnstable;
settings = {
sandbox = true;
cores = 0;
trusted-users = [ "@wheel" ];
substituters = [ "https://cache.nixos.org/" ];
builders-use-substitutes = true;
experimental-features = [ "nix-command" "flakes" ];
};
};
}