I have the following code, and the consists of configuration from NixOS and Home-Manager, which I am getting error for including this file in either side.
{ pkgs, dotfiles, ... }:
{
# From HM
xdg.configFile = { "leftwm/" = { source = "${dotfiles}/leftwm"; }; };
# From NixOS
services.xserver = {
windowManager.leftwm = { enable = true; };
displayManager = { defaultSession = "none+leftwm"; };
};
}
How can I fix the error, while keeping the config in the same file?