.
This commit is contained in:
parent
e45b2bfd7f
commit
25024f7fbd
3 changed files with 23 additions and 20 deletions
11
clan.nix
Normal file
11
clan.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
meta.name = "amarth-services";
|
||||
|
||||
inventory = {
|
||||
machines = {
|
||||
"test-darwin-machine" = {
|
||||
machineClass = "darwin";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
5
flake.lock
generated
5
flake.lock
generated
|
|
@ -216,8 +216,9 @@
|
|||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "systems",
|
||||
"type": "indirect"
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
|
|
|
|||
27
flake.nix
27
flake.nix
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue