fix: Refactor flake structure to properly use flake-parts

- Remove incorrect parts/fleet-data.nix import from flake.nix
- Create flake-parts wrappers for fleet-option.nix and users.nix
- Import inventory.nix through fleet-option wrapper
- Fix module argument passing (remove pkgs from mkFleet call)
- Move NixOS-specific modules out of flake-parts imports

This addresses the 'path does not exist' error but introduces infinite recursion that needs to be resolved.
This commit is contained in:
UGA Innovation Factory
2026-01-13 16:28:31 -05:00
parent acbc7518e8
commit 854882cbb9
4 changed files with 19 additions and 5 deletions

7
parts/users.nix Normal file
View File

@@ -0,0 +1,7 @@
# Flake-parts wrapper for users.nix
{ inputs, ... }:
let
# Minimal pkgs just for shell paths - will be overridden in actual NixOS configs
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
in
import ../users.nix { inherit pkgs; }