From 08a4c5c9ea743b369a7dc96b5426178da3c291d2 Mon Sep 17 00:00:00 2001 From: Peter Selby Date: Mon, 6 Nov 2023 19:10:02 -0800 Subject: [PATCH] Only run services in linux --- niten.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/niten.nix b/niten.nix index 15cc053..3ee5de6 100644 --- a/niten.nix +++ b/niten.nix @@ -13,6 +13,8 @@ with pkgs.lib; let + inherit (pkgs.stdenv) isLinux; + doom-emacs-package = pkgs.callPackage doom-emacs { doomPrivateDir = niten-doom-config; extraPackages = with pkgs.emacsPackages; [ @@ -133,7 +135,7 @@ in { "Xft.lcdfilter" = "lcddefault"; }; - services = { + services = mkIf isLinux { emacs = { enable = true; package = doom-emacs-package;