Guanpeng Xu
Guanpeng Xu
No, by using the same command-line tool in the script but providing a manually filled id.
The code seems to have been changed a lot since the issue was submitted, but it looks like this is the code you are looking for: https://github.com/LnL7/nix-darwin/blob/master/modules/users/default.nix#L155
I came across a similar issue. In my case, the paths were of the pattern `/nix/store/...-system-path`. It was after a system rebooting that these paths became recyclable. The paths led...
My reference was a mistake. Sorry for that.
This is precisely the same error I have got. I wonder why `nix.conf` is disrespected although `strace` shows it has been read.
I know now: ``` $ NIX_CONFIG='extra-experimental-features = flakes' nix show-config --experimental-features nix-command | grep exp experimental-features = nix-command $ NIX_CONFIG='extra-experimental-features = flakes' nix show-config | grep exp experimental-features = flakes...
Excuse me, but is this issue about having many `home-manager-path`s in `/nix/store`? I use `home-manager` as an input to my flake definition and thus also a module, and I am...
Update: I temporarily solved my issue with the following command template: ``` nix-env --profile ~/.local/state/nix/profiles/home-manager --delete-generations ``` where `generations-list` is a list of numbers.