mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Configure remote deployment with deploy-rs
This commit is contained in:
parent
6fe9cf2adc
commit
188a9b4e24
8 changed files with 117 additions and 19 deletions
|
|
@ -25,13 +25,20 @@ let
|
|||
);
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations = lib.mkMerge [
|
||||
(mkHost "north" unstable)
|
||||
(mkHost "inspiron" unstable)
|
||||
(mkHost "stratus" stable)
|
||||
(mkHost "installer" stable)
|
||||
];
|
||||
flake = {
|
||||
nixosConfigurations = lib.mkMerge [
|
||||
(mkHost "north" unstable)
|
||||
(mkHost "inspiron" unstable)
|
||||
(mkHost "stratus" stable)
|
||||
(mkHost "installer" stable)
|
||||
];
|
||||
|
||||
deploy.nodes.stratus = {
|
||||
hostname = "stratus";
|
||||
sshUser = "root";
|
||||
profiles.system.path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.stratus;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue