NixOS modules: Difference between revisions
→Under the hood: fix typesetting for inline code |
→With Flakes: fix? typo and typesetting; idk what {{|c|nixos-rebuild}} was intended to be |
||
Line 409: | Line 409: | ||
If you want to develop a module from a git repo, you can use `--override-input`. For example, if you have an input in your flake called {{ic|jovian}},, you can use | If you want to develop a module from a git repo, you can use `--override-input`. For example, if you have an input in your flake called {{ic|jovian}},, you can use | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
nixos-rebuild switch --override-input jovian <path-to-url> | nixos-rebuild switch --override-input jovian <path-to-url> --flake <uri> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Of course, it doesn't have to | Of course, it doesn't have to [[nixos-rebuild|<code>nixos-rebuild</code>]] in particular. | ||
== References == | == References == |