refactor: flatten the single-file lib and system directories

Each held one default.nix, so the directory added a level to descend without
grouping anything. They are now lib.nix and system.nix beside flake.nix, which
reads as the flake's own scaffolding.

The shared base config's reference to the shared secrets file was relative to
the directory it sat in, so it moves with the file.

Verified to build the same system toplevel as before the move.
This commit was merged in pull request #9.
This commit is contained in:
2026-07-20 13:02:26 -04:00
parent 6b5729b98a
commit 78081143cf
3 changed files with 11 additions and 13 deletions

View File

@@ -49,7 +49,7 @@
{ self, nixpkgs, ... }@inputs:
let
inherit (nixpkgs) lib;
my = import ./lib { inherit lib inputs self; };
my = import ./lib.nix { inherit lib inputs self; };
in
{
# Helper functions for discovering and building hosts.