refactor: inputs/ --> {sys,home}/
This commit is contained in:
parent
8f22a24963
commit
f77c627980
225 changed files with 77 additions and 88 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