tests/yubikey-agent: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
bbad45b7ea
commit
2c4f8cb7d6
6 changed files with 8 additions and 9 deletions
|
|
@ -1,5 +0,0 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||
yubikey-agent-darwin = ./service.nix;
|
||||
}
|
||||
3
tests/modules/services/yubikey-agent/darwin/default.nix
Normal file
3
tests/modules/services/yubikey-agent/darwin/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
yubikey-agent = ./service.nix;
|
||||
}
|
||||
|
|
@ -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))
|
||||
|
|
|
|||
3
tests/modules/services/yubikey-agent/linux/default.nix
Normal file
3
tests/modules/services/yubikey-agent/linux/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
yubikey-agent = ./service.nix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue