services/router: init
This commit is contained in:
@@ -48,6 +48,9 @@
|
||||
"x86_64-darwin"
|
||||
];
|
||||
|
||||
# perSystem.clan.nixosTests: NixOS VM tests of our own clan services.
|
||||
imports = [ clan-core.flakeModules.testModule ];
|
||||
|
||||
flake = {
|
||||
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
|
||||
clan = clan.config;
|
||||
@@ -84,6 +87,12 @@
|
||||
formatter = treefmtEval.config.build.wrapper;
|
||||
checks.formatting = treefmtEval.config.build.check self;
|
||||
|
||||
# `nix build .#checks.x86_64-linux.router` (VM test, Linux only).
|
||||
clan.nixosTests.router = {
|
||||
imports = [ ./modules/clan/router/tests/vm ];
|
||||
clan.modules.router = ./modules/clan/router;
|
||||
};
|
||||
|
||||
# Add the Clan cli tool to the dev shell.
|
||||
# Use "nix develop" to enter the dev shell.
|
||||
devShells.default = pkgs.mkShell {
|
||||
|
||||
Reference in New Issue
Block a user