mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests/emacs: reorganize darwin and linux
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
e9bde7692e
commit
c283a23ef6
21 changed files with 14 additions and 15 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
|
||||||
emacs-service-basic = ./basic.nix;
|
|
||||||
}
|
|
||||||
3
tests/modules/services/emacs/darwin/default.nix
Normal file
3
tests/modules/services/emacs/darwin/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
emacs-service-basic = ./basic.nix;
|
||||||
|
}
|
||||||
|
|
@ -1,11 +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))
|
||||||
emacs-service-27 = ./emacs-service-27.nix;
|
|
||||||
emacs-service-28 = ./emacs-service-28.nix;
|
|
||||||
emacs-service-28-after-graphical-session-target = ./emacs-service-28-after-graphical-session-target.nix;
|
|
||||||
emacs-socket-27 = ./emacs-socket-27.nix;
|
|
||||||
emacs-socket-28 = ./emacs-socket-28.nix;
|
|
||||||
emacs-default-editor = ./emacs-default-editor.nix;
|
|
||||||
emacs-socket-and-startWithUserSession = ./emacs-socket-and-startWithUserSession.nix;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
9
tests/modules/services/emacs/linux/default.nix
Normal file
9
tests/modules/services/emacs/linux/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
emacs-service-27 = ./emacs-service-27.nix;
|
||||||
|
emacs-service-28 = ./emacs-service-28.nix;
|
||||||
|
emacs-service-28-after-graphical-session-target = ./emacs-service-28-after-graphical-session-target.nix;
|
||||||
|
emacs-socket-27 = ./emacs-socket-27.nix;
|
||||||
|
emacs-socket-28 = ./emacs-socket-28.nix;
|
||||||
|
emacs-default-editor = ./emacs-default-editor.nix;
|
||||||
|
emacs-socket-and-startWithUserSession = ./emacs-socket-and-startWithUserSession.nix;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue