diff --git a/hosts/options/default.nix b/hosts/options/default.nix index 9b36faf..ab9d375 100644 --- a/hosts/options/default.nix +++ b/hosts/options/default.nix @@ -9,6 +9,7 @@ let ./hour/interfaces.nix ./hour/nixos.nix ./hour/ssh.nix + ./hour/hardware.nix ]; }; diff --git a/hosts/options/hour/hardware.nix b/hosts/options/hour/hardware.nix new file mode 100644 index 0000000..978ddea --- /dev/null +++ b/hosts/options/hour/hardware.nix @@ -0,0 +1,18 @@ +{ lib, ... }: +with lib; + +{ + options.hardware = { + cpu = { + cores = mkOption { + type = types.ints.unsigned; + }; + }; + memory = { + gb = mkOption { + type = types.ints.unsigned; + }; + }; + }; +} +