refactor: rename home modules/general cleanup
This commit is contained in:
parent
16dd61d968
commit
653640b484
86 changed files with 230 additions and 322 deletions
27
home/modules/console/editor/default.nix
Normal file
27
home/modules/console/editor/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./helix
|
||||
# ./nvim
|
||||
];
|
||||
|
||||
options.homeModules.console.editor = {
|
||||
helix = {
|
||||
enable = lib.mkEnableOption "Enable helix text editor";
|
||||
default = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Set helix as the default text editor in environment variables";
|
||||
};
|
||||
};
|
||||
nvim = {
|
||||
enable = lib.mkEnableOption "Enable nvim text editor";
|
||||
default = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Set nvim as the default text editor in environment variables";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue