mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-28 00:34:35 +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";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|