Compare commits
No commits in common. "tlater/refactor-for-testing" and "master" have entirely different histories.
tlater/ref
...
master
4 changed files with 2 additions and 29 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
flake-inputs.tlaternet-webserver.nixosModules.default
|
||||
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
../modules
|
||||
(import ../modules)
|
||||
|
||||
./services/backups.nix
|
||||
./services/battery-manager.nix
|
||||
|
|
|
|||
|
|
@ -1,6 +1 @@
|
|||
{
|
||||
imports = [
|
||||
./crowdsec
|
||||
./serviceTests.nix
|
||||
];
|
||||
}
|
||||
{ imports = [ ./crowdsec ]; }
|
||||
|
|
|
|||
|
|
@ -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 = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue