aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-18 22:51:37 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-18 22:53:09 +0200
commitb245a874bb6ece335f4bc7b2eac8376c55a3f463 (patch)
tree86582c545e89023fe06b5afb65036caa23e2c8d6 /hosts/default.nix
parentscripts/check.sh: Improve UX (diff)
downloadnixos-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/default.nix')
-rw-r--r--hosts/default.nix14
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;
}