feat: as far as I can tell this is the config needed for deploy-rs

This commit is contained in:
silver 2023-01-12 21:27:27 +00:00
parent b83e997168
commit e12f7a2ce8

View file

@ -17,13 +17,16 @@
nixosConfigurations.some-random-system = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
#./some-random-system/configuration.nix
./machines/base.nix
];
};
deploy.nodes.some-random-system.profiles.system = {
user = "root";
deploy.nodes.example = {
hostname = "192.168.1.157";
profiles.system = {
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-system;
user = "root";
};
};
# This is highly advised, and will prevent many possible mistakes