Flakes: Difference between revisions
imported>Luis-Hebendanz No edit summary |
imported>Luis-Hebendanz No edit summary |
||
| Line 395: | Line 395: | ||
== Getting ''Instant'' System Flakes Repl == | == Getting ''Instant'' System Flakes Repl == | ||
How to get a nix repl out of your | How to get a nix repl out of your system flake: | ||
<syntaxHighlight> | <syntaxHighlight> | ||
| Line 401: | Line 401: | ||
>> :lf /etc/nixos | >> :lf /etc/nixos | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Or out of your current flake: | |||
<syntaxHighlight> | |||
# nix repl | |||
>> :lf .# | |||
</syntaxHighlight> | |||
However, this won't be instant upon evaluation if any file changes have been done since your last configuration rebuild. Instead, if one puts: | However, this won't be instant upon evaluation if any file changes have been done since your last configuration rebuild. Instead, if one puts: | ||