flake: nixos: import common modules

This commit is contained in:
Bruno BELANYI 2024-01-03 16:50:22 +00:00
parent fe6df44b85
commit 61c234d932

View file

@ -12,6 +12,8 @@ let
} }
# Include generic settings # Include generic settings
"${self}/modules/nixos" "${self}/modules/nixos"
# Import common modules
"${self}/modules/common"
]; ];
buildHost = name: system: lib.nixosSystem { buildHost = name: system: lib.nixosSystem {
@ -24,6 +26,8 @@ let
inherit (self) lib; inherit (self) lib;
# Inject inputs to use them in global registry # Inject inputs to use them in global registry
inherit inputs; inherit inputs;
# For consumption by common modules
type = "nixos";
}; };
}; };
in in