tests/yubikey-agent: reorganize darwin and linux

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-22 21:33:59 -05:00
parent bbad45b7ea
commit 2c4f8cb7d6
6 changed files with 8 additions and 9 deletions

View file

@ -1,5 +0,0 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
yubikey-agent-darwin = ./service.nix;
}

View file

@ -0,0 +1,3 @@
{
yubikey-agent = ./service.nix;
}

View file

@ -1,5 +1,3 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
yubikey-agent = ./service.nix;
}
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))

View file

@ -0,0 +1,3 @@
{
yubikey-agent = ./service.nix;
}