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" "type": "github"
}, },
"original": { "original": {
"id": "systems", "owner": "nix-systems",
"type": "indirect" "repo": "default",
"type": "github"
} }
}, },
"treefmt-nix": { "treefmt-nix": {

View file

@ -14,20 +14,21 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts"; inputs.flake-parts.follows = "flake-parts";
}; };
systems = {
url = "github:nix-systems/default";
};
}; };
outputs = outputs =
inputs@{ flake-parts, systems, ... }: inputs@{ flake-parts, 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 flake-parts.flakeModules.modules
inputs.clan-core.flakeModules.default clan-core.flakeModules.default
inputs.clan-core.flakeModules.testModule clan-core.flakeModules.testModule
./devShells/flake-module.nix ./devShells/flake-module.nix
./clanServices/flake-module.nix ./clanServices/flake-module.nix
@ -37,16 +38,6 @@
modules = {}; modules = {};
}; };
clan = { clan = import ./clan.nix;
meta.name = "amarth-services";
inventory = {
machines = {
"test-darwin-machine" = {
machineClass = "darwin";
};
};
};
};
}); });
} }