I appreciate the help you provided earlier. Not sure why I haven't gotten it working. Your expanded explanation seemed clear enough.
Since I am working from someone's Nix OS dotfiles instead of starting from scratch. I may be misunderstanding their setup.
I understand this is probably not the way to start using Nix OS.
I am going to commit my file changes in a fork of his repository soon.
As for the peripherals.nix I modified from your example.
{ home-manager, lib, userSettings, Config, ... }:
{
xdg.configFile = {
"input-remapper-2/config.json".source = config.lib.file.mkOutOfStoreSymlink "${hostDir}/input-remapper/config.json";
"input-remapper-2/presets/ROCCAT ROCCAT Kone XP Air Donhle/BLENDER copy.json".source = config.lib.file.mkOutOfStorSymlink "${hostDir}/input-remapper-2/BLENDER copy.json";
};
Defining hostDir = "/home/${userSettings.username}/.dotfiles/user/hardware";
It appears the symlinks were made. But I do not have new folders appearing in .../user/hardware alongside the peripherals.nix
I'm thinking these out of store files should be there so I can drop my finished input-remapper config files there.
Not sure I provided the correct information.