Naïm Camille Favier
Naïm Camille Favier
https://github.com/NixOS/nixpkgs/pull/207224
I experienced this with sops-nix 73bf36912e31a6b21af6e0f39218e067283c67ef, nixpkgs 97b17f32362e475016f942bbdfda4a4a72a8a652. Note that I'm overriding `SOPS_GPG_EXEC` [here](https://github.com/ncfavier/config/blob/9b0f7aacd6615be24e6646e569ede8ecaf0620e7/modules/secrets.nix#L16-L19) for reasons I don't fully remember.
Right about [now](https://github.com/NixOS/nixos-search/pull/656). Can someone double-check that PR (like, is it fine to use Netlify like this?)?
Is there any reason to believe that this isn't a duplicate of https://github.com/nix-community/home-manager/issues/1341?
Won't this introduce duplicated entries in `PATH`-like variables? I think this might be a problem?
Things like `export PATH=foo:$PATH` will result in duplicated `foo` entries in nested shells. I don't know if this is a problem.
The fact that `import`ed modules cannot be deduplicated is a known issue with the module system. Nothing Home Manager can fix, so I'll close this issue. In general you should...
Nope: ```nix home-manager.users.supermarin = import ../home.nix; ``` vs. ```nix home-manager.users.supermarin = ../home.nix; ``` If you `import`, the module system doesn't know what the module is called, so it can't deduplicate...
Yeah you're really not supposed to use `getSubOptions` like that (in fact you're not supposed to use it at all, it's used internally to generate documentation for submodules). The fastest...
Hmm, actually I guess the culprit isn't so much `getSubOptions` as the fact that you're assigning an already evaluated set of options to `home-manager.users.foo`: your `cfg.users.foo.home-manager` is an *output* of...