mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-04 16:11:06 +01:00
tests/git-sync: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
2c4f8cb7d6
commit
e9bde7692e
8 changed files with 9 additions and 10 deletions
|
|
@ -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, pkgs, ... }:
|
||||||
|
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
|
||||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))
|
||||||
git-sync = ./basic.nix;
|
|
||||||
git-sync-with-whitespace = ./whitespace.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;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue