mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 11:54:11 +09:00
fix
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.applications.vim.system;
|
||||
in
|
||||
{
|
||||
options.my.applications.vim.system = {
|
||||
enable = lib.mkEnableOption "vim system configuration";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim # Highly configurable text editor
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user