diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-18 22:51:37 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-18 22:53:09 +0200 |
| commit | b245a874bb6ece335f4bc7b2eac8376c55a3f463 (patch) | |
| tree | 86582c545e89023fe06b5afb65036caa23e2c8d6 /hosts | |
| parent | scripts/check.sh: Improve UX (diff) | |
| download | nixos-server-b245a874bb6ece335f4bc7b2eac8376c55a3f463.zip | |
{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.
Diffstat (limited to 'hosts')
| -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; } |
