Commit 131ecbc17007
users/vincent/desktop/sway.nix
@@ -163,9 +163,10 @@ in
{ command = "dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY DBUS_SESSION_BUS_ADDRESS SWAYSOCK XDG_SESSION_TYPE XDG_SESSION_DESKTOP XDG_CURRENT_DESKTOP"; } #workaround
# Make sure we update systemd service env variables with the current ones. This is required for dbus to work properly.
{ command = "dbus-update-activation-environment --systemd --all"; }
- # { command = "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; }
{ command = "systemctl --user restart kanshi"; always = true; }
{ command = "${pkgs.pa-notify}/bin/pa-notify"; always = true; }
+ # Probably put a condition here.
+ { command = "emacs --fg-daemon"; }
];
};
extraConfig =
users/vincent/dev/emacs.nix
@@ -170,11 +170,11 @@ in
package = (pkgs.emacs-unstable.override { withTreeSitter = true; withNativeCompilation = true; withPgtk = true; withWebP = true; withGTK3 = true; withSQLite3 = true; });
extraPackages = myExtraPackages;
};
- services.emacs = {
- enable = true;
- client.enable = true;
- #socketActivation.enable = true;
- };
+ # services.emacs = {
+ # enable = true;
+ # client.enable = true;
+ # #socketActivation.enable = true;
+ # };
home.sessionVariables = {
EDITOR = "emacs";
ALTERNATE_EDITOR = "emacs -nw";