mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +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; };
|
||||
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 ./deploy.nix flakeContext)
|
||||
// (import ./home flakeContext)
|
||||
// (import ./modules flakeContext)
|
||||
// (import ./pkgs flakeContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user