diff --git a/deploy.nix b/deploy.nix index 2e69377..40a21e9 100644 --- a/deploy.nix +++ b/deploy.nix @@ -1,8 +1,9 @@ { inputs, self, ... }: { - flake.deploy.nodes = { + flake.deploy = { remoteBuild = true; - alexandria = { + nodes = { + alexandria = { hostname = "alexandria"; profiles.system = { sshUser = "user"; @@ -36,6 +37,7 @@ }; }; }; +}; perSystem = { system, ... }: { diff --git a/devShells.nix b/devShells.nix index 82f97e9..e5c4a33 100644 --- a/devShells.nix +++ b/devShells.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ ... }: { perSystem = @@ -8,10 +8,8 @@ packages = with pkgs; [ nil nixfmt-rfc-style + deploy-rs ]; - shellHook = '' - alias deploy='${inputs.deploy-rs.packages.${pkgs.system}.default}/bin/deploy --skip-checks' - ''; }; }; }