Compare commits

..

No commits in common. "tlater/refactor-for-testing" and "master" have entirely different histories.

4 changed files with 2 additions and 29 deletions

View file

@ -6,8 +6,6 @@ let
in
{
x86_64-linux = lib.mergeAttrsList [
flake-inputs.self.nixosConfigurations.hetzner-1.config.serviceTests
{
nix = checkLib.mkLint {
name = "nix-lints";

View file

@ -11,7 +11,7 @@
flake-inputs.tlaternet-webserver.nixosModules.default
"${modulesPath}/profiles/minimal.nix"
../modules
(import ../modules)
./services/backups.nix
./services/battery-manager.nix

View file

@ -1,6 +1 @@
{
imports = [
./crowdsec
./serviceTests.nix
];
}
{ imports = [ ./crowdsec ]; }

View file

@ -1,20 +0,0 @@
/**
Module to make writing service-specific tests easy.
*/
{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
options = {
serviceTests = mkOption {
type = types.attrsOf types.package;
description = ''
NixOS tests to run.
'';
default = { };
};
};
}