mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
ref
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
|||||||
|
{ inputs, ... }@flakeContext:
|
||||||
|
{
|
||||||
|
deploy = {
|
||||||
|
sshUser = "oqyude";
|
||||||
|
user = "root";
|
||||||
|
nodes = {
|
||||||
|
sapphira = {
|
||||||
|
hostname = "sapphira";
|
||||||
|
profiles.system = {
|
||||||
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
otreca = {
|
||||||
|
hostname = "otreca";
|
||||||
|
profiles.system = {
|
||||||
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.otreca;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# This is highly advised, and will prevent many possible mistakes
|
||||||
|
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
||||||
|
}
|
||||||
@@ -109,29 +109,10 @@
|
|||||||
flakeContext = { inherit inputs; };
|
flakeContext = { inherit inputs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
deploy = {
|
|
||||||
sshUser = "oqyude";
|
|
||||||
user = "root";
|
|
||||||
nodes = {
|
|
||||||
sapphira = {
|
|
||||||
hostname = "sapphira";
|
|
||||||
profiles.system = {
|
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
otreca = {
|
|
||||||
hostname = "otreca";
|
|
||||||
profiles.system = {
|
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.otreca;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# This is highly advised, and will prevent many possible mistakes
|
|
||||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
|
||||||
}
|
}
|
||||||
// (import ./home flakeContext)
|
|
||||||
// (import ./configurations flakeContext)
|
// (import ./configurations flakeContext)
|
||||||
|
// (import ./deploy.nix flakeContext)
|
||||||
|
// (import ./home flakeContext)
|
||||||
// (import ./modules flakeContext)
|
// (import ./modules flakeContext)
|
||||||
// (import ./pkgs flakeContext);
|
// (import ./pkgs flakeContext);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user