NiXium-org / NiXium

Open-Source Infrastructure as Code Management Solution for Multiple Systems designed to be reliable in mission-critical tasks on paranoid and high-security environment.
European Union Public License 1.2
25 stars 3 forks source link

Kreyren: Attempt to Fix Flameshot #115

Open Kreyren opened 4 months ago

Kreyren commented 4 months ago

Flameshot doesn't work on GNOME with Wayland for me.

...
reloading user units for kreyren...
restarting sysinit-reactivation.target
warning: the following units failed: home-manager-kreyren.service

× home-manager-kreyren.service - Home Manager environment for kreyren
     Loaded: loaded (/etc/systemd/system/home-manager-kreyren.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-07-08 23:38:57 UTC; 80ms ago
   Duration: 1min 34.328s
    Process: 226322 ExecStart=/nix/store/7i0d80cp7l2f3kzphp2pgl75f8k9bqal-hm-setup-env /nix/store/0nfh4hiibnj1zy7jj4paklrdzk3f33lk-home-manager-generation (code=exited, status=1/FAILURE)
   Main PID: 226322 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 1.138s

Jul 08 23:38:56 sinnenfreude hm-activate-kreyren[226322]: Creating home file links in /home/kreyren
Jul 08 23:38:56 sinnenfreude hm-activate-kreyren[226322]: Activating onFilesChange
Jul 08 23:38:56 sinnenfreude hm-activate-kreyren[226322]: Activating runUnmountPersistentStoragePaths
Jul 08 23:38:56 sinnenfreude hm-activate-kreyren[226322]: Activating reloadSystemd
Jul 08 23:38:57 sinnenfreude hm-activate-kreyren[227021]: Starting: flathub-init.service flameshot.service
Jul 08 23:38:57 sinnenfreude hm-activate-kreyren[227021]: Failed to start flameshot.service: Unit tray.target not found.
Jul 08 23:38:57 sinnenfreude systemd[1]: home-manager-kreyren.service: Main process exited, code=exited, status=1/FAILURE
Jul 08 23:38:57 sinnenfreude systemd[1]: home-manager-kreyren.service: Failed with result 'exit-code'.
Jul 08 23:38:57 sinnenfreude systemd[1]: Failed to start Home Manager environment for kreyren.
Jul 08 23:38:57 sinnenfreude systemd[1]: home-manager-kreyren.service: Consumed 1.138s CPU time, no IP traffic.
warning: error(s) occurred while switching to the new configuration

Relevant: https://github.com/NixOS/nixpkgs/issues/292700#issuecomment-1974953531 Relevant: https://github.com/nix-community/home-manager/issues/2064

Tanvir1337x commented 4 months ago

@Kreyren Does the flatpak version work for you on that environment?

Kreyren commented 4 months ago

@Kreyren Does the flatpak version work for you on that environment? -- @TanvirOnGH

image

Doesn't seem to work

Also using flatpak is not a valid solution.