Move config to ~/.config/guix/gaming-channels?
For now only factorio has a config file which is located at ~/.config/games-channel/factoria.scm
.
I suggest the following hierarchy:
~/.config/guix/gaming-channels/games.scm
~/.config/guix/gaming-channels/games/factorio.scm
~/.config/guix/gaming-channels/duke-nukem-3d/whatever-mod.scm
The subfolders (e.g. games
) would hold game-specific settings.
The files at the root (e.g. games.scm
) would hold channel-generic settings.
In particular, I'd like to add "source location settings" to let the user specify the location of ISOs, etc.
In this case, I see two options: either an alist in games.scm
((game-symbol . "/path/to/file")
(my-other-game . "..."))
or a simple pair in games/my-game.scm
(game-symbol . "/path/to/file")
Last but not least: should we place the gaming-channels
folder inside ~/.config/guix
, considering it's not an official part of Guix?
Otherwise we could place it at ~/.config/guix-gaming-channels
.
@roptat Thoughts?