fix: Respect nvim user config option

This commit is contained in:
UGA Innovation Factory
2025-12-16 13:47:50 -05:00
committed by Hunter Halloran
parent 1c71bf099e
commit 3b0c147b3f
8 changed files with 321 additions and 159 deletions

View File

@@ -1,14 +1,14 @@
# ============================================================================
# NixOS Modules Export
# ============================================================================
# This file exposes host types and software configurations as reusable NixOS
# This file exposes host types and software configurations as reusable NixOS
# modules that can be imported by external flakes or configurations.
#
# Usage in another flake:
# # Full host type configurations (includes hardware + software + system config)
# inputs.nixos-systems.nixosModules.nix-desktop
# inputs.nixos-systems.nixosModules.nix-laptop
#
#
# # Software-only configurations (for custom hardware setups)
# inputs.nixos-systems.nixosModules.sw-desktop
# inputs.nixos-systems.nixosModules.sw-headless
@@ -16,15 +16,30 @@
{ inputs }:
let
# Software modules with their dependencies bundled
mkSwModule = swType: { config, lib, pkgs, ... }: {
imports = [
../sw/ghostty.nix
../sw/nvim.nix
../sw/python.nix
../sw/theme.nix
(import ../sw/${swType} { inherit config lib pkgs inputs; })
];
};
mkSwModule =
swType:
{
config,
lib,
pkgs,
...
}:
{
imports = [
../sw/ghostty.nix
../sw/nvim.nix
../sw/python.nix
../sw/theme.nix
(import ../sw/${swType} {
inherit
config
lib
pkgs
inputs
;
})
];
};
in
{
# Host type modules (full system configurations)