fix: Respect nvim user config option
This commit is contained in:
committed by
Hunter Halloran
parent
1c71bf099e
commit
3b0c147b3f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user