1
Fork 0
nixos-system-config/modules/nixos/core/nix.nix
2025-01-19 13:18:30 +01:00

22 lines
399 B
Nix

{ lib, ... }:
{
nix = {
settings = {
auto-optimise-store = true;
use-xdg-base-directories = true;
trusted-users = [ "@wheel" ];
allowed-users = [ "@wheel" ];
};
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs = {
config = {
allowUnfree = true;
};
hostPlatform = lib.mkDefault "x86_64-linux";
};
}