nixos-servers/modules/facter.nix

16 lines
271 B
Nix
Raw Normal View History

{
inputs,
lib,
config,
...
}: {
imports = [inputs.nixos-facter-modules.nixosModules.facter];
options.facter.lab = {
isRaspberryPi = lib.mkOption {
type = lib.types.bool;
default = config.facter.report.system == "aarch64-linux";
};
};
}