add data/services.nix for shared service definitions
Creates a standalone data file that can be imported by both aspects/constants.nix and terranix configurations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
848f79f8bb
commit
bde5e2aabc
20 changed files with 189 additions and 57 deletions
34
flake.nix
34
flake.nix
|
|
@ -58,21 +58,23 @@
|
|||
|
||||
outputs =
|
||||
inputs@{ flake-parts, import-tree, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } (
|
||||
import-tree ./aspects
|
||||
// {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
let
|
||||
aspectsModule = import-tree ./aspects;
|
||||
in
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
|
||||
imports = [
|
||||
./deploy.nix
|
||||
./devShells.nix
|
||||
./overlays.nix
|
||||
./packages.nix
|
||||
./terranixConfigurations.nix
|
||||
];
|
||||
}
|
||||
);
|
||||
imports = [
|
||||
flake-parts.flakeModules.modules
|
||||
] ++ aspectsModule.imports ++ [
|
||||
./deploy.nix
|
||||
./devShells.nix
|
||||
./overlays.nix
|
||||
./packages.nix
|
||||
./terranixConfigurations.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue