I am unable to import any config or .nix files into a flake. Ultimately, I am trying to manage my dotfiles via
xdg.configFile. .... .source = modules/config.nix for example. However, when I run the flake to build the config I get
error: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available)
for example, a line that I am trying to use to manage my alacritty .config:
xdg.configFile."alacritty/alacritty.yaml".source = modules/alacritty.nix;
I have tried various other ways, using
import in either the flake or home.nix file but wherever I put it I am getting the same error, it is as if flakes are unable to import any external .nix or conf files by design?