Hello,
I’ve recently ran nix-channel --update and ended up with broken home-manager. I’m very new to nix and not sure where to look to troubleshoot the following error.
❯ home-manager switch
error: 'submoduleWith' at /nix/store/s8j80dqc1g19xqbdm5xs8473iw1jnmyc-nixpkgs/nixpkgs/lib/types.nix:570:7 called with unexpected argument 'description'
at /Users/val123/.nix-defexpr/channels/home-manager/nixos/common.nix:14:14:
13|
14| hmModule = types.submoduleWith {
| ^
15| description = "Home Manager module";
@Sandro I don’t understand how channels relate do each other between different users. Would I need to keep the root user’s channel around? Or as long as nixpkgs channel is defined for my user the root’s channel won’t be looked up?
If you are trying to use a channel which does not exist under the user nix looks at the root user channels. If the channel exists there then that one will be used.