nh
nh copied to clipboard
Yet another nix cli helper
Hi thanks for this awesome helper! I have dark and light theme specialisations in my home-manager config and I would like to pass a specialisation arg to `nh home switch`...
This pr adds support for both `doas` and `pkexec`, while keeping support for `sudo`. For this to work, I decided that the cleanest way to implement this was by adding...
New deployment tool let's go
Tries to open `flake.lock` with both read and write permissions (which should, in theory, be enough to avoid failures due to flake.lock being owned by root. If it fails (e.g.,...
I just watched https://www.youtube.com/watch?v=DnA4xNTrrqY and I like the idea. `FLAKE` is a very generic name for an env var and I'd prefer something like `NIXOS_CONF_FLAKE` or `NH_OS_FLAKE` (good practice to...
I put my flake.nix under `/etc/nixos`, as this is where the `sudo nixos-rebuild switch` default to. However, when I try to update the flake inputs by `nh os switch --update`,...
Similar to `nix search` sub-command where it searches for nixos options instead
Currently I use [this 3rd party site](https://home-manager-options.extranix.com/), but would be great to have on the shell instead in a similar fashion to `nh search`
`nix profile` is so bad, potentially could be `nh pkg` instead?