Is picom.nix part of the repo that also contain your flake.nix? If yes, does it not work if you add the file-path to the list of modules in line 44 of your flake.nix?
But ok, then I can make sense of other people’s setup and see how that I can scale it, I was just wondering on how i was to add it. Thank you guys for helping out
I have then another question if that is fine, right now I am installing ST from my configuration.nix, then use overlay to get my build of st from github. How would I go and just add my github and install st as a module, same as picom?
When I try to build after adding modules, as seen here in my dotfiles
I am getting an error:
$ sudo nixos-rebuild switch --flake .#mXlaptop
path '/home/merrinx/.flakes/modules' does not contain a 'flake.nix', searching up
building the system configuration...
path '/home/merrinx/.flakes/modules' does not contain a 'flake.nix', searching up
error: infinite recursion encountered
at /nix/store/56h5pqxpsml9mw7zzd7s59iqvf85bhyb-source/lib/modules.nix:898:14:
897| { _type = "if";
898| inherit condition content;
| ^
899| };
(use '--show-trace' to show detailed location information)
Cannot figure out what the problem is, please advice if there is something I can do.