refactor: Move sw into properly nested modules with unconditional import

This commit is contained in:
UGA Innovation Factory
2026-01-27 13:59:57 -05:00
parent bd50f894ae
commit f669845bf7
36 changed files with 788 additions and 347 deletions

View File

@@ -1,4 +1,4 @@
{ inputs, ... }:
{ ... }:
# ============================================================================
# User Configuration
@@ -15,7 +15,6 @@
# nixos-systems configuration (nixpkgs, home-manager, etc.).
{
config,
lib,
pkgs,
osConfig ? null, # Only available in home-manager context
@@ -60,7 +59,7 @@
fd
bat
]
++ lib.optional (osConfig.athenix.sw.type or null == "desktop") firefox;
++ lib.optional (osConfig.athenix.sw.desktop.enable or false) firefox;
# Conditionally add packages based on system type
# ========== Programs ==========