nixfiles/hardware/oracle/default.nix

20 lines
514 B
Nix

{ inputs, tree, ... }: let
profiles = tree.prev;
appendedProfiles = with profiles; {
ubuntu = { config, ... }: {
nixfiles.oci.base = "Canonical Ubuntu";
imports = with import (inputs.tf-nix + "/modules"); [
nixos.ubuntu-linux
common
];
};
oracle = { config, ... }: {
nixfiles.oci.base = "Oracle Linux";
imports = with import (inputs.tf-nix + "/modules"); [
nixos.oracle-linux
common
];
};
};
in
profiles // appendedProfiles