mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests/nix-gc: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
7a64c02340
commit
41a5f0a98a
11 changed files with 9 additions and 10 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||
nix-gc = ./basic.nix;
|
||||
darwin-nix-gc-interval-assertion = ./darwin-nix-gc-interval-assertion.nix;
|
||||
}
|
||||
4
tests/modules/services/nix-gc/darwin/default.nix
Normal file
4
tests/modules/services/nix-gc/darwin/default.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
nix-gc = ./basic.nix;
|
||||
nix-gc-interval-assertion = ./darwin-nix-gc-interval-assertion.nix;
|
||||
}
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
nix-gc = ./basic.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/nix-gc/linux/default.nix
Normal file
3
tests/modules/services/nix-gc/linux/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
nix-gc = ./basic.nix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue