mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
init
This commit is contained in:
16
modules/basic/nix.nix
Normal file
16
modules/basic/nix.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user