From b245a874bb6ece335f4bc7b2eac8376c55a3f463 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 18 Jul 2026 22:51:37 +0200 Subject: {flake.nix,hosts/}: Remove deploy-rs It's not used (besides the deploy-tests, which didn't really do much), and they have broken string escapes, which emit warnings. That they have these warnings for over a month shows that upstream is not that responsive, not a good sign. --- hosts/default.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'hosts') 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; } -- cgit v1.3.1