flake: deploy to virtmsi

This commit is contained in:
Zynh Ludwig 2024-12-27 05:12:28 -08:00
parent dac4092adb
commit fcab202c38

View file

@ -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;
};
}