mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-27 04:34:36 +00:00
20 lines
347 B
Nix
20 lines
347 B
Nix
{ lib, ... }: with lib; let
|
|
inherit (lib) mkEnableOption mkOption;
|
|
in
|
|
{
|
|
imports = [
|
|
./git.nix
|
|
];
|
|
|
|
options.myOptions.home-manager = {
|
|
enable = mkEnableOption "home-manager";
|
|
|
|
stateVersion = mkOption {
|
|
type = types.str;
|
|
default = config.system.nixos;
|
|
description = "HomeManager's state version";
|
|
};
|
|
};
|
|
}
|
|
|