mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
tests/git-sync: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||
git-sync = ./basic.nix;
|
||||
}
|
||||
3
tests/modules/services/git-sync/darwin/default.nix
Normal file
3
tests/modules/services/git-sync/darwin/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
git-sync = ./basic.nix;
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
git-sync = ./basic.nix;
|
||||
git-sync-with-whitespace = ./whitespace.nix;
|
||||
}
|
||||
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
|
||||
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))
|
||||
|
||||
4
tests/modules/services/git-sync/linux/default.nix
Normal file
4
tests/modules/services/git-sync/linux/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
git-sync = ./basic.nix;
|
||||
git-sync-with-whitespace = ./whitespace.nix;
|
||||
}
|
||||
Reference in New Issue
Block a user