I’m using home-manager
and installed flameshot
and dunst
and also enable their services. However they are broken…
flameshot
service status:
● flameshot.service - Flameshot screenshot tool
Loaded: loaded (/nix/store/4ai9rfk1ksvxgxnldfaslnz4arabv8m5-home-manager-files/.config/systemd/user/flameshot.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Wed 2021-04-21 16:18:09 -03; 1min 8s ago
Process: 85987 ExecStart=/nix/store/mgcd378dn2y1caa8zld28kb1lliqjpjr-flameshot-0.9.0/bin/flameshot (code=dumped, signal=ABRT)
Main PID: 85987 (code=dumped, signal=ABRT)
CPU: 80ms
Apr 21 16:18:08 mdsp systemd[1638]: flameshot.service: Main process exited, code=dumped, status=6/ABRT
Apr 21 16:18:08 mdsp systemd[1638]: flameshot.service: Failed with result 'core-dump'.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: Scheduled restart job, restart counter is at 5.
Apr 21 16:18:09 mdsp systemd[1638]: Stopped Flameshot screenshot tool.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: Start request repeated too quickly.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: Failed with result 'core-dump'.
Apr 21 16:18:09 mdsp systemd[1638]: Failed to start Flameshot screenshot tool.
dunst
service status:
● dunst.service - Dunst notification daemon
Loaded: loaded (/nix/store/4ai9rfk1ksvxgxnldfaslnz4arabv8m5-home-manager-files/.config/systemd/user/dunst.service; linked; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-04-21 16:19:56 -03; 20s ago
Process: 87851 ExecStart=/nix/store/gwl7q4bb8szfdciiy7s7hsg717nlcpgs-dunst-1.6.1/bin/dunst (code=exited, status=1/FAILURE)
Main PID: 87851 (code=exited, status=1/FAILURE)
CPU: 44ms
Apr 21 16:19:56 mdsp systemd[1638]: Starting Dunst notification daemon...
Apr 21 16:19:56 mdsp dunst[87851]: CRITICAL: Cannot open X11 display.
Apr 21 16:19:56 mdsp systemd[1638]: dunst.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 16:19:56 mdsp systemd[1638]: dunst.service: Failed with result 'exit-code'.
Apr 21 16:19:56 mdsp systemd[1638]: Failed to start Dunst notification daemon.
Here I define flameshot
: nixnad/home.nix at 77b64f46d84210f1fb0eb8ee1796d7334a4d9445 · matdsoupe/nixnad · GitHub
And here dunst
: nixnad/dunst.nix at 77b64f46d84210f1fb0eb8ee1796d7334a4d9445 · matdsoupe/nixnad · GitHub
Any bets?