diff --git a/flake.nix b/flake.nix index c1577e6..5a97795 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ }; outputs = - { self, nixpkgs, ... }@inputs: + { self, nixpkgs, deploy-rs, ... }@inputs: let builders = import ./builders.nix inputs; in @@ -42,6 +42,19 @@ { user = "ravenshade"; hostname = "virtmsi"; } ]; + deploy = + let homeConfigPath = username: deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.${username}; + in { + sshUser = "ravenshade"; + nodes = { + virtmsi = { + hostname = "virtmsi"; + profiles.home.path = homeConfigPath "ravenshade@virtmsi"; + fastConnection = true; + }; + }; + }; + overlays.default = import ./pkgs; }; }