diff options
| author | Mike Vink <ivi@vinkland.xyz> | 2023-10-20 18:28:17 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkland.xyz> | 2023-10-20 18:28:17 +0200 |
| commit | bc2c557650e076aaf6d47bbc99bc67f99b26aa27 (patch) | |
| tree | ad67822c179306409b84929b2bd5d6a53fca4555 /flake.nix | |
| parent | 3a687fddd3ef212882739ec5f5086dec45df4306 (diff) | |
start setting up ivi
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -52,12 +52,11 @@ deploy.nodes = mapAttrs - (hostname: machine: - { - hostname = hostname + "." + ivi.domain; - sshUser = "root"; - profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname}; - }) + (hostname: machine: { + hostname = hostname + "." + ivi.domain; + sshUser = "root"; + profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname}; + }) (filterAttrs (_: machine: machine.isDeployed) ivi.machines); devShells."${system}".hetzner = pkgs.mkShell { |
