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
So basically I have a game I want to have the config for centralized. I also want that game to be able to update it's own config. Seems reasonable, yes?
So what I've done is in my home.nix I've defined home.file.".config/OpenRCT2/config.ini".source = ./config/openrct2.conf - which almost works, except instead of it being a link to the original, it appears that home-manager copies it elsewhere, and then links that. This would be fine, except as i said I need the game to be able to edit it's own config, and I want to be able to commit it to GitHub easily.
Have you tried using config.lib.hm.mkOutOfStoreSymlink?
This will allow you to create a symlink to a file.
Note however that you cannot use a path literal and will to use an absolute path ("${config.home.homeDirectory}/my-home-manager-config/openrct2.conf").
Okay, so how does that work though? "${config.home.homeDirectory}/my-home-manager-config/openrct2.conf"
Appears to only specify the source, but not the destination?
Okay, so how does that work though? "${config.home.homeDirectory}/my-home-manager-config/openrct2.conf" Appears to only specify the source, but not the destination?
See this reply in the thread linked in my original answer: #2085 (comment)
So basically I have a game I want to have the config for centralized. I also want that game to be able to update it's own config. Seems reasonable, yes?
So what I've done is in my
home.nix
I've definedhome.file.".config/OpenRCT2/config.ini".source = ./config/openrct2.conf
- which almost works, except instead of it being a link to the original, it appears that home-manager copies it elsewhere, and then links that. This would be fine, except as i said I need the game to be able to edit it's own config, and I want to be able to commit it to GitHub easily.Is there a way around this, or a flag I don't know about?
(Also while I'm here, how do I set my cursors? (gtk.cursorTheme doesn't exist))
The text was updated successfully, but these errors were encountered: