.
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"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "systems",
|
"owner": "nix-systems",
|
||||||
"type": "indirect"
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
|
|
|
||||||
27
flake.nix
27
flake.nix
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue