mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 06:37:16 +00:00
24 lines
430 B
Nix
24 lines
430 B
Nix
{lib, ...}:
|
|
with lib; let
|
|
inherit (lib) mkEnableOption mkOption;
|
|
in {
|
|
imports = [
|
|
./programs
|
|
./git.nix
|
|
./wms.nix
|
|
./theme.nix
|
|
./services.nix
|
|
./preferences.nix
|
|
];
|
|
|
|
options.myOptions.home-manager = {
|
|
enable = mkEnableOption "home-manager";
|
|
|
|
stateVersion = mkOption {
|
|
type = types.str;
|
|
default = config.system.nixos;
|
|
description = "HomeManager's state version";
|
|
};
|
|
};
|
|
}
|