From bc2c557650e076aaf6d47bbc99bc67f99b26aa27 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 20 Oct 2023 18:28:17 +0200 Subject: start setting up ivi --- flake.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 9e074d0..ea6cb06 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { -- cgit v1.2.3