Used dots for quickshell, that already existed and added virtual keyboard to their lockscreen. Fixed issue with emacs not starting Deleted waybar config Disabled blueman by default Added xournalpp
31 lines
643 B
Nix
31 lines
643 B
Nix
{
|
|
pkgs,
|
|
system,
|
|
inputs,
|
|
osConfig,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
emacs = pkgs.kylekrein.nixmacs.override {withLsps = true;};
|
|
in {
|
|
programs.emacs = {
|
|
enable = osConfig.custom.presets.wayland.enable;
|
|
package = emacs;
|
|
};
|
|
systemd.user.services.emacs = lib.mkIf config.programs.emacs.enable {
|
|
Unit = {
|
|
Description = "Launches (and relaunches) emacs";
|
|
};
|
|
Install = {
|
|
WantedBy = ["graphical-session.target"];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.writeShellScript "run-emacs" ''
|
|
${emacs}/bin/emacs --fg-daemon
|
|
''}";
|
|
Restart = "always";
|
|
RestartSec = 5;
|
|
};
|
|
};
|
|
}
|