dotfiles/modules/editors/default.nix

29 lines
536 B
Nix
Raw Normal View History

2021-11-08 13:52:09 +01:00
{ config, lib, pkgs, ... }:
2022-03-23 12:41:04 +01:00
with lib; {
imports = [ ./emacs.nix ./idea.nix ./vim.nix ./code.nix ];
options.modules.editors = {
emacs = mkOption {
default = true;
type = types.bool;
example = false;
};
idea = mkOption {
default = false;
type = types.bool;
example = true;
};
vim = mkOption {
default = true;
type = types.bool;
example = false;
};
code = mkOption {
default = false;
type = types.bool;
example = true;
};
};
2021-11-08 13:52:09 +01:00
}