1
0
Fork 0
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:
Austin Horstman 2025-06-22 21:35:26 -05:00
parent 2c4f8cb7d6
commit e9bde7692e
8 changed files with 9 additions and 10 deletions

View file

@ -1,5 +0,0 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
git-sync = ./basic.nix;
}

View file

@ -0,0 +1,3 @@
{
git-sync = ./basic.nix;
}

View file

@ -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;
}

View file

@ -0,0 +1,4 @@
{
git-sync = ./basic.nix;
git-sync-with-whitespace = ./whitespace.nix;
}