Only run services in linux

This commit is contained in:
Peter Selby 2023-11-06 19:10:02 -08:00
parent a01d25c0bf
commit 08a4c5c9ea
1 changed files with 3 additions and 1 deletions

View File

@ -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;