Fernando Ayats
Fernando Ayats
NH has supported --file since v4
Let me know what you thinkg of this: https://github.com/nix-community/nh/issues/336 for supporting flakeless `--upgrade`.
sudo nh os switch -R
You have to pass -R to nh, not to nix: `sudo nh os switch -R -f '' -- -I nixos-config=/etc/nixos/configuration.nix`
If we are generating a bash script to pass to `sudo sh`, might as well rewrite nh in bash... I think there might be a better way to do this,...
Yes, here: https://github.com/viperML/nh/blob/127a23c82aa41091e97466092d2547c08c2a9a9d/src/clean.rs#L94 Ideally we add a new CLI flag to `nh clean` such that the user can pass their own extra rules, e.g. ``` nh clean all -R "my...
The current implementation unconditionally sets the out-link into some `::tempfile` here: https://github.com/viperML/nh/blob/7f8a1859ed6ea971fcf49b07ca8938e3000c3af4/src/nixos.rs#L39-L41 If you want to implement it, check if `matches!(rebuild_type, OsRebuildType::Build(_)`, and change that path to `result`
Please send the output with --verbose
@deejayem nh doesn't use `nh home switch flake#username`, but instead `nh home switch flake -c username`
On the topic of unofficial communities, I believe we are missing the Nix User groups there (https://nix.ug) and the IRC channels (which I don't have any connection with)