1
Fork 0
nixos-system-config/modules/nixos/core/nix.nix

23 lines
399 B
Nix
Raw Normal View History

2025-01-10 23:38:56 +01:00
{ lib, ... }:
{
nix = {
settings = {
auto-optimise-store = true;
use-xdg-base-directories = true;
trusted-users = [ "@wheel" ];
allowed-users = [ "@wheel" ];
};
2025-01-19 13:18:30 +01:00
extraOptions = ''
experimental-features = nix-command flakes
'';
2025-01-10 23:38:56 +01:00
};
nixpkgs = {
config = {
allowUnfree = true;
};
hostPlatform = lib.mkDefault "x86_64-linux";
};
}