This commit is contained in:
Chris Kruining 2025-09-22 08:44:04 +02:00
parent e45b2bfd7f
commit 25024f7fbd
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
3 changed files with 23 additions and 20 deletions

11
clan.nix Normal file
View file

@ -0,0 +1,11 @@
{
meta.name = "amarth-services";
inventory = {
machines = {
"test-darwin-machine" = {
machineClass = "darwin";
};
};
};
}

5
flake.lock generated
View file

@ -216,8 +216,9 @@
"type": "github"
},
"original": {
"id": "systems",
"type": "indirect"
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {

View file

@ -14,20 +14,21 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
systems = {
url = "github:nix-systems/default";
};
};
outputs =
inputs@{ flake-parts, systems, ... }:
inputs@{ flake-parts, clan-core, systems, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [
"x86_64-linux"
];
systems = import systems;
imports = [
flake-parts.flakeModules.modules
inputs.clan-core.flakeModules.default
inputs.clan-core.flakeModules.testModule
clan-core.flakeModules.default
clan-core.flakeModules.testModule
./devShells/flake-module.nix
./clanServices/flake-module.nix
@ -37,16 +38,6 @@
modules = {};
};
clan = {
meta.name = "amarth-services";
inventory = {
machines = {
"test-darwin-machine" = {
machineClass = "darwin";
};
};
};
};
clan = import ./clan.nix;
});
}