From 3433338938cacff3ee01d2ce8dfd0e7a17eca7c6 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Fri, 27 Dec 2024 02:19:39 -0600 Subject: [PATCH] it turns out deploy-rs wasn't necessary after all --- boxes/netbox/default.nix | 1 - flake.nix | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index 1f33bb0..66fccc2 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -50,7 +50,6 @@ ]; system = { - copySystemConfiguration = true; stateVersion = "23.05"; # don't change this, lol }; diff --git a/flake.nix b/flake.nix index 06f8545..5388745 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,6 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11"; agenix.url = "github:ryantm/agenix"; - deploy-rs.url = "github:serokell/deploy-rs"; }; outputs = { @@ -13,7 +12,6 @@ nixpkgs, simple-nixos-mailserver, agenix, - deploy-rs, ... }@inputs: let mkSystem = modules: @@ -40,22 +38,5 @@ ); in { 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"; - }; - }; - }; - }; }; }