feat: deploy successful

This commit is contained in:
silver 2023-01-12 22:02:45 +00:00
parent 5021020d7b
commit ab372deda0
2 changed files with 148 additions and 3 deletions

View file

@ -13,7 +13,7 @@
};
outputs = { self, nixpkgs, deploy-rs }: {
outputs = { self, nixpkgs, deploy-rs, ... }: {
nixosConfigurations.some-random-system = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
@ -21,11 +21,11 @@
];
};
deploy.nodes.example = {
deploy.nodes.some-random-system = {
hostname = "192.168.1.157";
profiles.system = {
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-system;
user = "root";
sshUser = "root";
};
};