Re:Zero to Nix, an unofficial, opinionated, gentle introduct...
by cole-h on Monday January 23, 2023 @12:01PM
(#34491564)
That sounds like a nice little workflow; I might have to incorporate something like that with `nvd`...
Though, it should be said that `import /home/wherever` might not work if you switch to / use flakes, as that is likely outside of the flake's git repo (and thus impure).
/etc/nixos is just the default, there's a number of ways to set your own path. One of the simplest might be to put "import /home/wherever" as the sole contents of configuration.nix.