There's a difference. Without it, it loads the flake from /etc/nixos/flake.nix instead of the current directory. (What is redundant is the #, you can just write --flake .)
Also, depending on how the flake is setup, you might also have to add .#hostname, at least for the initial run. After that .# can evaluate which host is being rebuilt.
There's a difference. Without it, it loads the flake from /etc/nixos/flake.nix instead of the current directory. (What is redundant is the
#
, you can just write--flake .
)Also, depending on how the flake is setup, you might also have to add
.#hostname
, at least for the initial run. After that.#
can evaluate which host is being rebuilt.@zonsopkomst@lemmy.ml @ck_ haha, on lemmy, I was trying to add
.#\
, but\
kept getting deleted. Markdown??