it turns out deploy-rs wasn't necessary after all

This commit is contained in:
stupidcomputer 2024-12-27 02:19:39 -06:00
parent be43dd8ddf
commit 3433338938
2 changed files with 0 additions and 20 deletions

View File

@ -50,7 +50,6 @@
]; ];
system = { system = {
copySystemConfiguration = true;
stateVersion = "23.05"; # don't change this, lol stateVersion = "23.05"; # don't change this, lol
}; };

View File

@ -5,7 +5,6 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11"; simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
deploy-rs.url = "github:serokell/deploy-rs";
}; };
outputs = { outputs = {
@ -13,7 +12,6 @@
nixpkgs, nixpkgs,
simple-nixos-mailserver, simple-nixos-mailserver,
agenix, agenix,
deploy-rs,
... ...
}@inputs: let }@inputs: let
mkSystem = modules: mkSystem = modules:
@ -40,22 +38,5 @@
); );
in { in {
nixosConfigurations = generateNixosConfigurations [ "netbox" "copernicus" "aristotle" ]; nixosConfigurations = generateNixosConfigurations [ "netbox" "copernicus" "aristotle" ];
deploy = {
sshUser = "ryan";
user = "ryan";
sshOpts = [ "-p" "433" ];
autoRollback = false;
magicRollback = false;
nodes = {
"netbox" = {
hostname = "beepboop.systems";
profiles.system = {
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations."netbox";
};
};
};
};
}; };
} }