This commit is contained in:
parent
e5c27d7aa8
commit
723bc90852
5 changed files with 92 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ flake-parts.lib.mkFlake { inherit inputs; } {
|
|||
imports = [
|
||||
./apps.nix
|
||||
./checks.nix
|
||||
./deploy-rs.nix
|
||||
./dev-shells.nix
|
||||
./home-manager.nix
|
||||
./lib.nix
|
||||
|
|
|
|||
26
flake/deploy-rs.nix
Normal file
26
flake/deploy-rs.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ self, inputs, ... }:
|
||||
let
|
||||
inherit (inputs)
|
||||
deploy-rs
|
||||
;
|
||||
inherit (self) lib;
|
||||
in
|
||||
{
|
||||
perSystem = { system, ... }: {
|
||||
checks = deploy-rs.lib.${system}.deployChecks self.deploy;
|
||||
};
|
||||
|
||||
flake = {
|
||||
deploy = {
|
||||
nodes = {
|
||||
porthos = {
|
||||
hostname = "belanyi.fr";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.porthos;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue