core: add default system features

This commit is contained in:
Timothy DeHerrera 2019-12-17 17:49:26 -07:00
parent dc6690adba
commit 23db288d40
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,7 @@ in
}; };
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
nix.systemFeatures = [ "gccarch-haswell" ];
boot.loader.systemd-boot = { boot.loader.systemd-boot = {
enable = true; enable = true;

View file

@ -8,6 +8,13 @@ in
{ {
nix.package = pkgs.nixFlakes; nix.package = pkgs.nixFlakes;
nix.systemFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
imports = [ imports = [
../local/locale.nix ../local/locale.nix
../local/file-systems.nix ../local/file-systems.nix