feat: Refactor to use flake-parts and import inventory and users thru the flake parts

This commit is contained in:
UGA Innovation Factory
2026-01-13 18:20:24 -05:00
parent 854882cbb9
commit 97358a6aee
11 changed files with 156 additions and 234 deletions

View File

@@ -1,9 +0,0 @@
# Flake-parts wrapper for fleet-option.nix
{ inputs, self, lib, config, ... }:
let
fleetModule = import ../fleet/fleet-option.nix { inherit inputs lib; };
inventoryModule = import ../inventory.nix { };
in
{
imports = [ fleetModule inventoryModule ];
}

View File

@@ -1,6 +1,17 @@
# NixOS configurations generated from fleet
{ inputs, self, lib, config, ... }:
{
inputs,
self,
lib,
pkgs,
config,
...
}:
{
imports = [
../fleet/fleet-option.nix
];
flake.nixosConfigurations =
let
fleet = self.lib.mkFleet { inherit inputs lib config; };