Compare commits
No commits in common. "982fcfb2575d6677bcd3fb58f5db8640023bd726" and "d7ce0fc896ce57687f87a2981a45fe984eab6079" have entirely different histories.
982fcfb257
...
d7ce0fc896
9 changed files with 51 additions and 27 deletions
2
clan.nix
2
clan.nix
|
|
@ -11,7 +11,7 @@
|
|||
description = "Management node 1";
|
||||
machineClass = "nixos";
|
||||
tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity:critical" "" ];
|
||||
deploy.targetHost = "root@192.168.1.223";
|
||||
deploy.targetHost = "root@192.168.1.222";
|
||||
};
|
||||
c1 = {
|
||||
name = "compute-1";
|
||||
|
|
|
|||
53
flake.lock
generated
53
flake.lock
generated
|
|
@ -157,6 +157,24 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"devshell_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1741473158,
|
||||
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"disko": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -373,6 +391,22 @@
|
|||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1722073938,
|
||||
"narHash": "sha256-OpX0StkL8vpXyWOGUD6G+MA26wAXK6SpT94kLJXo6B4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e36e9f57337d0ff0cf77aceb58af4c805472bfae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1758035966,
|
||||
"narHash": "sha256-qqIJ3yxPiB0ZQTT9//nFGQYn8X/PBoJbofA7hRKZnmE=",
|
||||
|
|
@ -392,9 +426,9 @@
|
|||
"inputs": {
|
||||
"amarth-services": "amarth-services",
|
||||
"clan-core": "clan-core_2",
|
||||
"devshell": "devshell_2",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"systems": "systems_4"
|
||||
"nixpkgs": "nixpkgs_4"
|
||||
}
|
||||
},
|
||||
"sops-nix": {
|
||||
|
|
@ -484,21 +518,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
|
|||
17
flake.nix
17
flake.nix
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
description = "Infrastructure of Amarth Cloud";
|
||||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "github:NixOS/nixpkgs?ref=nixos-unstable";
|
||||
|
|
@ -17,22 +15,23 @@
|
|||
inputs.flake-parts.follows = "flake-parts";
|
||||
};
|
||||
|
||||
amarth-services = {
|
||||
url = "git+https://git.amarth.cloud/amarth/services";
|
||||
devshell = {
|
||||
url = "github:numtide/devshell";
|
||||
};
|
||||
|
||||
systems = {
|
||||
url = "github:nix-systems/default";
|
||||
amarth-services = {
|
||||
url = "git+https://git.amarth.cloud/amarth/services";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ flake-parts, self, clan-core, systems, ... }:
|
||||
inputs@{ flake-parts, self, clan-core, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
|
||||
systems = import systems;
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
];
|
||||
|
||||
imports = [
|
||||
flake-parts.flakeModules.modules
|
||||
clan-core.flakeModules.default
|
||||
|
||||
./devShells/flake-module.nix
|
||||
|
|
|
|||
1
vars/per-machine/c1/k3s/ip_v4/value
Normal file
1
vars/per-machine/c1/k3s/ip_v4/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
127.0.0.1
|
||||
1
vars/per-machine/c1/k3s/ip_v6/value
Normal file
1
vars/per-machine/c1/k3s/ip_v6/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
::1
|
||||
1
vars/per-machine/c1/state-version/version/value
Normal file
1
vars/per-machine/c1/state-version/version/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
25.11
|
||||
1
vars/per-machine/c2/state-version/version/value
Normal file
1
vars/per-machine/c2/state-version/version/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
25.11
|
||||
1
vars/per-machine/c3/state-version/version/value
Normal file
1
vars/per-machine/c3/state-version/version/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
25.11
|
||||
1
vars/per-machine/m1/state-version/version/value
Normal file
1
vars/per-machine/m1/state-version/version/value
Normal file
|
|
@ -0,0 +1 @@
|
|||
25.11
|
||||
Loading…
Add table
Add a link
Reference in a new issue