2024-07-31 13:47:48 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
{
|
2025-01-29 04:48:19 +00:00
|
|
|
imports = [ ./ports.nix ./paths.nix ./packages.nix ];
|
2024-07-31 13:47:48 +00:00
|
|
|
|
|
|
|
options.state = lib.mkOption {
|
|
|
|
type = lib.types.submodule {
|
|
|
|
freeformType = with lib.types; attrsOf anything;
|
|
|
|
default = { };
|
|
|
|
};
|
|
|
|
description = ''
|
|
|
|
A set of values to be held in the home-manager configuration. Pretty much
|
|
|
|
used for anything that requires consistency or deduplicate the source of
|
|
|
|
truth for module values.
|
|
|
|
'';
|
|
|
|
example = {
|
|
|
|
sampleValue = 10;
|
2025-01-29 04:48:19 +00:00
|
|
|
paths.ignoreDirectories = [ ".git" "node_modules" ".direnv" ];
|
2024-07-31 13:47:48 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|