nixdots/options/home/default.nix

20 lines
347 B
Nix
Raw Normal View History

2024-03-23 22:06:58 +00:00
{ lib, ... }: with lib; let
2024-04-07 14:54:36 +00:00
inherit (lib) mkEnableOption mkOption;
2024-03-23 22:06:58 +00:00
in
{
2024-04-04 18:16:56 +00:00
imports = [
./git.nix
];
2024-03-23 22:06:58 +00:00
options.myOptions.home-manager = {
2024-04-07 14:54:36 +00:00
enable = mkEnableOption "home-manager";
2024-03-23 22:06:58 +00:00
stateVersion = mkOption {
type = types.str;
default = config.system.nixos;
description = "HomeManager's state version";
};
};
}