mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
tests/imapnotify: 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 {
|
||||
imapnotify-launchd = ./launchd.nix;
|
||||
}
|
||||
3
tests/modules/services/imapnotify/darwin/default.nix
Normal file
3
tests/modules/services/imapnotify/darwin/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imapnotify-launchd = ./launchd.nix;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
imports = [ ../../../accounts/email-test-accounts.nix ];
|
||||
|
||||
accounts.email.accounts = {
|
||||
"hm@example.com" = {
|
||||
@@ -1,5 +1,3 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||
imapnotify = ./imapnotify.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/imapnotify/linux/default.nix
Normal file
3
tests/modules/services/imapnotify/linux/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imapnotify = ./imapnotify.nix;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
imports = [ ../../../accounts/email-test-accounts.nix ];
|
||||
|
||||
accounts.email.accounts = {
|
||||
"hm@example.com" = {
|
||||
Reference in New Issue
Block a user