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 am rebuilding a Nix config I had under a simple configuration.nix. It worked okay for sway under /etc/nixos/configuration.nix, so here I am guess that the home-manager file is the one I'm not mastering properly.
I am in the process of doing that under home-manager and I get this result :
error: builder for'/nix/store/a727cb6r5282y18p53m2j7kbdr2gjavy-sway.conf.drv' failed with exit code 1;
last 8 log lines:
> Fontconfig error: No writable cache directories
> Fontconfig error: No writable cache directories
> Fontconfig error: No writable cache directories
> Fontconfig error: No writable cache directories
> Fontconfig error: No writable cache directories
> 00:00:00.071 [sway/commands/output/background.c:121] Unable to access background file '/home/yassin/Projects/nixos-config/assets/Bgs/joker.jpg': No such file or directory
> 00:00:00.071 [sway/config.c:831] Error on line 94 'bg /home/yassin/Projects/nixos-config/assets/Bgs/joker.jpg fill': unable to access background file '/home/yassin/Projects/nixos-config/assets/Bgs/joker.jpg' (/nix/store/g47n2p32p4my41gkl1rf8m5s9b506363-sway.conf)
> 00:00:00.071 [sway/config.c:441] Error(s) loading config!
For full logs, run 'nix log /nix/store/a727cb6r5282y18p53m2j7kbdr2gjavy-sway.conf.drv'.
error: 1 dependencies of derivation '/nix/store/fd7p2aczxf90rppgf8q388y81s5gbcmw-activation-script.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bbc4jjf5z608whc9s94vi89zrfshjy1g-home-manager-generation.drv' failed to build
Uh oh, the installation failed! Please create an issue at
https://github.com/nix-community/home-manager/issues
if the error seems to be the fault of Home Manager.
Which obviously if I look into the files :
yassin@nixos ~ [1]> ls ./Projects/nixos-config/assets/Bgs/
bloom.jpg branchrose.jpg green_circuit.jpg joker.jpg treepath.jpg
Obviously if it is not a path issue, I trust that it's a file permission config, but I am not sure to which group and which permission to allow.
Under my sway.nix, here's how I lead towards the path :
Are you following the right branch?
Is there an existing issue for this?
Issue description
Hello,
I am rebuilding a Nix config I had under a simple configuration.nix. It worked okay for sway under /etc/nixos/configuration.nix, so here I am guess that the home-manager file is the one I'm not mastering properly.
I am in the process of doing that under home-manager and I get this result :
Which obviously if I look into the files :
Obviously if it is not a path issue, I trust that it's a file permission config, but I am not sure to which group and which permission to allow.
Under my sway.nix, here's how I lead towards the path :
Which is set in my home.nix :
Maintainer CC
Sorry I gotta admit I don't know how to do that.
System information
The text was updated successfully, but these errors were encountered: