{ self, ... } @ args: { name , system ? "x86_64-linux" , deployment ? null , host ? null , port ? 22 , tags ? null , inputs ? null , ... }: let configFolder = "${self}/nixos"; entryPoint = "${configFolder}/${name}/configuration.nix"; hardware = "${configFolder}/${name}/hardware-configuration.nix"; in { deployment = deployment; # system = system; imports = [ { _module.args = args; networking.hostName = name; nix.flakes.enable = true; system.configurationRevision = self.rev or "dirty"; documentation.man = { enable = true; generateCaches = true; }; } entryPoint hardware ../nixos/modules/flake.nix ../nixos/modules/nix.nix # TODO: implement extraModules inputs.impermanence.nixosModules.impermanence inputs.sops-nix.nixosModules.sops ]; }