I didn't push my code again...

This commit is contained in:
clan-tool 2025-09-22 06:45:38 +00:00
parent d7ce0fc896
commit 35cd5bf0ee
9 changed files with 27 additions and 51 deletions

View file

@ -11,7 +11,7 @@
description = "Management node 1"; description = "Management node 1";
machineClass = "nixos"; machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity:critical" "" ]; tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity:critical" "" ];
deploy.targetHost = "root@192.168.1.222"; deploy.targetHost = "root@192.168.1.223";
}; };
c1 = { c1 = {
name = "compute-1"; name = "compute-1";

53
flake.lock generated
View file

@ -157,24 +157,6 @@
"type": "github" "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": { "disko": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -391,22 +373,6 @@
} }
}, },
"nixpkgs_3": { "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": { "locked": {
"lastModified": 1758035966, "lastModified": 1758035966,
"narHash": "sha256-qqIJ3yxPiB0ZQTT9//nFGQYn8X/PBoJbofA7hRKZnmE=", "narHash": "sha256-qqIJ3yxPiB0ZQTT9//nFGQYn8X/PBoJbofA7hRKZnmE=",
@ -426,9 +392,9 @@
"inputs": { "inputs": {
"amarth-services": "amarth-services", "amarth-services": "amarth-services",
"clan-core": "clan-core_2", "clan-core": "clan-core_2",
"devshell": "devshell_2",
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_3",
"systems": "systems_4"
} }
}, },
"sops-nix": { "sops-nix": {
@ -518,6 +484,21 @@
"type": "github" "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": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [

View file

@ -1,4 +1,6 @@
{ {
description = "Infrastructure of Amarth Cloud";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
url = "github:NixOS/nixpkgs?ref=nixos-unstable"; url = "github:NixOS/nixpkgs?ref=nixos-unstable";
@ -15,23 +17,22 @@
inputs.flake-parts.follows = "flake-parts"; inputs.flake-parts.follows = "flake-parts";
}; };
devshell = {
url = "github:numtide/devshell";
};
amarth-services = { amarth-services = {
url = "git+https://git.amarth.cloud/amarth/services"; url = "git+https://git.amarth.cloud/amarth/services";
}; };
systems = {
url = "github:nix-systems/default";
};
}; };
outputs = outputs =
inputs@{ flake-parts, self, clan-core, ... }: inputs@{ flake-parts, self, clan-core, systems, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: { flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [ systems = import systems;
"x86_64-linux"
];
imports = [ imports = [
flake-parts.flakeModules.modules
clan-core.flakeModules.default clan-core.flakeModules.default
./devShells/flake-module.nix ./devShells/flake-module.nix

View file

@ -1 +0,0 @@
127.0.0.1

View file

@ -1 +0,0 @@
::1

View file

@ -1 +0,0 @@
25.11

View file

@ -1 +0,0 @@
25.11

View file

@ -1 +0,0 @@
25.11

View file

@ -1 +0,0 @@
25.11