nixosTest.lact: init

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>

Changed files
+23
nixos
pkgs
by-name
la
+1
nixos/tests/all-tests.nix
···
kthxbye = runTest ./kthxbye.nix;
kubernetes = handleTestOn [ "x86_64-linux" ] ./kubernetes { };
kubo = import ./kubo { inherit recurseIntoAttrs runTest; };
ladybird = runTest ./ladybird.nix;
languagetool = runTest ./languagetool.nix;
lanraragi = runTest ./lanraragi.nix;
···
kthxbye = runTest ./kthxbye.nix;
kubernetes = handleTestOn [ "x86_64-linux" ] ./kubernetes { };
kubo = import ./kubo { inherit recurseIntoAttrs runTest; };
+
lact = runTest ./lact.nix;
ladybird = runTest ./ladybird.nix;
languagetool = runTest ./languagetool.nix;
lanraragi = runTest ./lanraragi.nix;
+18
nixos/tests/lact.nix
···
···
+
{ pkgs, ... }:
+
{
+
name = "lact";
+
meta = {
+
inherit (pkgs.lact.meta) maintainers;
+
};
+
+
nodes.machine =
+
{ config, pkgs, ... }:
+
{
+
services.lact.enable = true;
+
};
+
+
testScript = ''
+
machine.wait_for_unit("lactd.service")
+
machine.wait_for_file("/run/lactd.sock")
+
'';
+
}
+4
pkgs/by-name/la/lact/package.nix
···
coreutils,
systemdMinimal,
nix-update-script,
hwdata,
fuse3,
autoAddDriverRunpath,
···
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Linux GPU Configuration Tool for AMD and NVIDIA";
···
coreutils,
systemdMinimal,
nix-update-script,
+
nixosTests,
hwdata,
fuse3,
autoAddDriverRunpath,
···
'';
passthru.updateScript = nix-update-script { };
+
passthru.tests = {
+
inherit (nixosTests) lact;
+
};
meta = {
description = "Linux GPU Configuration Tool for AMD and NVIDIA";