mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
tests/imapnotify: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
5618e7a748
commit
7a64c02340
9 changed files with 10 additions and 11 deletions
|
|
@ -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" = {
|
||||
Loading…
Add table
Add a link
Reference in a new issue