From 23db288d40a874dcf07fe3f2c23b40c8306f7b06 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Tue, 17 Dec 2019 17:49:26 -0700 Subject: [PATCH] core: add default system features --- configurations/hp500281.nix | 1 + profiles/core.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/configurations/hp500281.nix b/configurations/hp500281.nix index d5c107d9..d6e08b8a 100644 --- a/configurations/hp500281.nix +++ b/configurations/hp500281.nix @@ -24,6 +24,7 @@ in }; nix.maxJobs = lib.mkDefault 4; + nix.systemFeatures = [ "gccarch-haswell" ]; boot.loader.systemd-boot = { enable = true; diff --git a/profiles/core.nix b/profiles/core.nix index 66ba64e5..e82201d5 100644 --- a/profiles/core.nix +++ b/profiles/core.nix @@ -8,6 +8,13 @@ in { nix.package = pkgs.nixFlakes; + nix.systemFeatures = [ + "nixos-test" + "benchmark" + "big-parallel" + "kvm" + ]; + imports = [ ../local/locale.nix ../local/file-systems.nix