mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 21:57:17 +00:00
19 lines
377 B
Nix
19 lines
377 B
Nix
|
{ lib, ... }: with lib; let
|
||
|
in
|
||
|
{
|
||
|
options.myOptions.home-manager = {
|
||
|
enabled = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
description = "Should home-manager be enabled for this host?";
|
||
|
};
|
||
|
|
||
|
stateVersion = mkOption {
|
||
|
type = types.str;
|
||
|
default = config.system.nixos;
|
||
|
description = "HomeManager's state version";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|