From f574841f13a378381dcdede689a3339895bc31dd Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 29 Jun 2024 19:00:03 -0500 Subject: [PATCH] Start emacs via systemd --- user/app/doom-emacs/doom.nix | 2 ++ user/app/doom-emacs/doom.org | 2 ++ user/wm/hyprland/hyprland.nix | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/user/app/doom-emacs/doom.nix b/user/app/doom-emacs/doom.nix index b1544f4..9f3c384 100644 --- a/user/app/doom-emacs/doom.nix +++ b/user/app/doom-emacs/doom.nix @@ -41,6 +41,8 @@ in # End block }; + services.emacs.enable = true; + home.file.".emacs.d/themes/doom-stylix-theme.el".source = config.lib.stylix.colors { template = builtins.readFile ./themes/doom-stylix-theme.el.mustache; extension = ".el"; diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 6629669..1429dc8 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -2123,6 +2123,8 @@ in # End block }; + services.emacs.enable = true; + home.file.".emacs.d/themes/doom-stylix-theme.el".source = config.lib.stylix.colors { template = builtins.readFile ./themes/doom-stylix-theme.el.mustache; extension = ".el"; diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 7778e12..b2f5860 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -57,7 +57,6 @@ in exec-once = GOMAXPROCS=1 syncthing --no-browser exec-once = protonmail-bridge --noninteractive exec-once = waybar - exec-once = emacs --daemon exec-once = hypridle exec-once = sleep 5 && libinput-gestures