You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to configure gtk with home-manager, but i end up having crashes with home-manager.
gtk.nix
{config,pkgs, ... }:
{gtk={enable=true;theme={package=pkgs.marwaita-teal;name="Marwaita-Dark-Teal";};iconTheme={package=pkgs.beauty-line-icon-theme;name="BeautyLine";};gtk3.bookmarks=[#Add bookmarks to the file chooser"file:///${config.home.homeDirectory}/Documents""file:///${config.home.homeDirectory}/Téléchargements""file:///${config.home.homeDirectory}/Musique""file:///${config.home.homeDirectory}/Images""file:///${config.home.homeDirectory}/Vidéos"];};}
result of nixos rebuild:
error.log
activating the configuration...
setting up /etc...
reloading user units for spid...
restarting sysinit-reactivation.target
warning: the following units failed: home-manager-spid.service
× home-manager-spid.service - Home Manager environment for spid
Loaded: loaded (/etc/systemd/system/home-manager-spid.service; enabled; preset: ignored)
Active: failed (Result: exit-code) since Mon 2024-12-09 20:52:35 CET; 264ms ago
Invocation: f91c688e495441c087bd4020a06f2e7d
Process: 14011 ExecStart=/nix/store/m91h9kmjw78swvldfb9px8qnv1nb23ax-hm-setup-env /nix/store/c7xa8l2ns80qcclafpx0vfiip8gingnz-home-manager-generation (code=exited, status=1/FAILURE)
Main PID: 14011 (code=exited, status=1/FAILURE)
IP: 0B in, 0B out
IO: 20K read, 0B written
Mem peak: 5.9M
CPU: 179ms
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: Please do one of the following:
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: - Move or remove the above files and try again.
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: - In standalone mode, use 'home-manager switch -b backup' to back up
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: files automatically.
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: - When used as a NixOS or nix-darwin module, set
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: 'home-manager.backupFileExtension'
déc. 09 20:52:35 vs-laptop hm-activate-spid[14107]: to, for example, 'backup' and rebuild.
déc. 09 20:52:35 vs-laptop systemd[1]: home-manager-spid.service: Main process exited, code=exited, status=1/FAILURE
déc. 09 20:52:35 vs-laptop systemd[1]: home-manager-spid.service: Failed with result 'exit-code'.
déc. 09 20:52:35 vs-laptop systemd[1]: Failed to start Home Manager environment for spid.
warning: error(s) occurred while switching to the new configuration
I'm unsure of what to do with that to be honest, nor do i know what's happening.
Home manager is apparently supposed to create a symlinked file to .gtkrc-2.0, problem is that this symlink becomes a true file, and thus home manager considers there's a conflict.
SpidFightFR
changed the title
bug: Setting gtk.enable = true crashes home-manager (?)
bug: .gtkrc-2.0 no longer is a symlink after reboot
Dec 23, 2024
Are you following the right branch?
Is there an existing issue for this?
Issue description
I tried to configure gtk with home-manager, but i end up having crashes with home-manager.
gtk.nix
result of nixos rebuild:
error.log
I'm unsure of what to do with that to be honest, nor do i know what's happening.
Maintainer CC
@rycee
System information
The text was updated successfully, but these errors were encountered: