mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: ability to deploy hydrogen configuration
This commit is contained in:
parent
cadda2e104
commit
588401eea5
3 changed files with 96 additions and 3 deletions
16
nix/deploy/default.nix
Normal file
16
nix/deploy/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ self, inputs, ... }:
|
||||
|
||||
{
|
||||
flake.checks = builtins.mapAttrs (
|
||||
_system: deployLib: deployLib.deployChecks self.deploy
|
||||
) inputs.deploy-rs.lib;
|
||||
|
||||
flake.deploy.nodes.hydrogen = {
|
||||
hostname = "hydrogen";
|
||||
sshUser = "root";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.hydrogen;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue