nix: move nixos module under nix/ subdir

In preparation for adding a sibling darwin module, move the NixOS
module from nixos/ to nix/nixos/ so platform modules live together.

No behaviour change. flake.nix paths updated; internal imports between
the moved files are relative and unaffected.

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
Updates #17678
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f