summaryrefslogtreecommitdiff
path: root/parts/lib/utils/deploy.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-15 21:57:04 -0400
committerseth <[email protected]>2023-09-15 21:57:04 -0400
commitde807d65a6f2dd5ce81507bff456449a912b131d (patch)
tree61fa5a41ee5c102ba1a91127034358a513979ea9 /parts/lib/utils/deploy.nix
parentfd9eaa40a0508d009fe4f08d501d8ae6f64c4a96 (diff)
hosts: deploy-rs -> nixinate
deploy-rs still has issues with tailscale :(
Diffstat (limited to 'parts/lib/utils/deploy.nix')
-rw-r--r--parts/lib/utils/deploy.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/parts/lib/utils/deploy.nix b/parts/lib/utils/deploy.nix
deleted file mode 100644
index 261af32..0000000
--- a/parts/lib/utils/deploy.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{inputs, ...}: let
- inherit (builtins) mapAttrs;
- inherit (inputs) deploy;
-in {
- mkDeployNodes = mapAttrs (_: system: let
- inherit (system) pkgs;
- deployPkgs = import pkgs.path {
- inherit (pkgs) system;
- overlays = [
- deploy.overlay
- (_: prev: {
- deploy-rs = {
- inherit (pkgs) deploy-rs;
- inherit (prev.deploy-rs) lib;
- };
- })
- ];
- };
-
- type =
- if pkgs.stdenv.isLinux
- then "nixos"
- else "darwin";
- in {
- sshUser = "root";
- hostname = system.config.networking.hostName;
- profiles.system.path = deployPkgs.deploy-rs.lib.activate.${type} system;
- });
-}