depot/hosts/options/hour/nixos.nix

19 lines
359 B
Nix
Raw Permalink Normal View History

2023-02-24 16:16:15 +02:00
{ lib, ... }:
with lib;
{
options = {
system = mkOption {
description = "Nix system double for this NixOS host.";
type = types.enum systems.doubles.linux;
default = "x86_64-linux";
};
nixos = mkOption {
description = "NixOS configuration.";
type = with types; nullOr anything;
default = null;
};
};
}