This repository has been archived on 2025-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config/homeManagerModules/programs/micro.nix

27 lines
459 B
Nix

{
lib,
config,
...
}:
let
cfg = config.krop.hm.programs.micro;
in
{
options.krop.hm.programs.micro = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = "Enable my micro configuration";
};
};
config = lib.mkIf cfg.enable {
programs.micro = {
enable = true;
settings = {
colorscheme = "atom-dark";
wordwrap = true;
};
};
};
}