nixos-config/flake-mods/hm-flake-part.nix

27 lines
401 B
Nix
Raw Normal View History

2024-10-08 11:19:34 +02:00
{
lib,
flake-parts-lib,
...
}: let
inherit
(lib)
mkOption
types
;
2024-10-08 11:19:34 +02:00
inherit
(flake-parts-lib)
mkTransposedPerSystemModule
;
in
2024-10-08 11:19:34 +02:00
mkTransposedPerSystemModule {
name = "homeConfigurations";
option = mkOption {
type = types.raw;
default = {};
description = ''
home-manager configs
'';
};
file = ./hm-flake-part.nix;
}