diff options
Diffstat (limited to '')
| -rw-r--r-- | hosts/default.nix | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index 664c376..651569d 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -4,10 +4,7 @@ nixpkgs, specialArgs, extraModules, - deployPackage, }: let - hostnames = builtins.fromTOML (builtins.readFile ./host-names.toml); - hosts = nixLib.mkByName { useShards = false; baseDirectory = ./by-name; @@ -26,15 +23,6 @@ ]; }; nixosConfigurations = builtins.mapAttrs mkNixosConfiguration hosts; - - mkDeploy = name: _: { - hostname = hostnames."${name}"; - profiles.system = { - user = "root"; - path = deployPackage.lib.activate.nixos nixosConfigurations."${name}"; - }; - }; - deploy = {nodes = builtins.mapAttrs mkDeploy hosts;}; in { - inherit nixosConfigurations deploy; + inherit nixosConfigurations; } |
