Only run services in linux
This commit is contained in:
parent
a01d25c0bf
commit
08a4c5c9ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue