Preface
I tried to get Espanso working but unfortunately I wasn’t successful. So I decided to leave it for now and removed it from my configuration.nix
and did nixos-rebuild
. These were the Nix options that I removed almost a month ago now:
services.espanso.package = pkgs.espanso-wayland;
services.espanso.enable = true;
Problem
Though, recently I noticed in journalctl
that espanso service has been trying to start over and over again. The following output keeps repeating:
$ journalctl --since "1 min ago"
Aug 16 10:14:39 nixos systemd[2032]: Started espanso.
Aug 16 10:14:39 nixos (-wrapped)[92462]: espanso.service: Unable to locate executable '/nix/store/nzzpjb14gqk4q24dgv>
Aug 16 10:14:39 nixos (-wrapped)[92462]: espanso.service: Failed at step EXEC spawning /nix/store/nzzpjb14gqk4q24dgv>
Aug 16 10:14:39 nixos systemd[2032]: espanso.service: Main process exited, code=exited, status=203/EXEC
Aug 16 10:14:39 nixos systemd[2032]: espanso.service: Failed with result 'exit-code'.
Aug 16 10:14:42 nixos systemd[2032]: espanso.service: Scheduled restart job, restart counter is at 3584.
how can this be possible? didn’t I remove the service from my system when I removed it from my configuration.nix
and did nixos-rebuild
? How can I stop and remove espanso.service?
Other Information
I tried to see if the “espanso.service” is running in my system but it wasn’t. so I am not sure how the service could be running?:
$ systemctl --type=service --state=running
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
acpid.service loaded active running ACPI Daemon
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
acpid.service loaded active running ACPI Daemon
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
bolt.service loaded active running Thunderbolt system service
colord.service loaded active running Manage, Install and Generate Color Profiles
cups-browsed.service loaded active running CUPS Remote Printer Discovery
cups.service loaded active running CUPS Scheduler
dbus.service loaded active running D-Bus System Message Bus
display-manager.service loaded active running Display Manager
getty@tty1.service loaded active running Getty on tty1
ModemManager.service loaded active running Modem Manager
NetworkManager.service loaded active running Network Manager
nix-daemon.service loaded active running Nix Daemon
nscd.service loaded active running Name Service Cache Daemon (nsncd)
polkit.service loaded active running Authorization Manager
power-profiles-daemon.service loaded active running Power Profiles daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-machined.service loaded active running Virtual Machine and Container Registration Service
systemd-oomd.service loaded active running Userspace Out-Of-Memory (OOM) Killer
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
waydroid-container.service loaded active running Waydroid Container
wpa_supplicant.service loaded active running WPA supplicant