feat: as far as I can tell this is the config needed for deploy-rs
This commit is contained in:
parent
b83e997168
commit
e12f7a2ce8
1 changed files with 6 additions and 3 deletions
|
@ -17,13 +17,16 @@
|
||||||
nixosConfigurations.some-random-system = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.some-random-system = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
#./some-random-system/configuration.nix
|
./machines/base.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy.nodes.some-random-system.profiles.system = {
|
deploy.nodes.example = {
|
||||||
user = "root";
|
hostname = "192.168.1.157";
|
||||||
|
profiles.system = {
|
||||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-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
|
# This is highly advised, and will prevent many possible mistakes
|
||||||
|
|
Loading…
Reference in a new issue