vim nitpicks

This commit is contained in:
Motiejus Jakštys 2023-08-18 18:50:39 +03:00
parent 74b19c049b
commit 7063b1d84e
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
base = {
zfs.enable = true;
users = {
installVimPlugins = true;
devEnvironment = true;
passwd = {
root.passwordFile = config.age.secrets.root-passwd-hash.path;
motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;

View File

@ -6,7 +6,7 @@
...
}: {
options.mj.base.users = with lib.types; {
installVimPlugins = lib.mkOption {
devEnvironment = lib.mkOption {
type = bool;
default = false;
};
@ -57,7 +57,7 @@
programs.direnv.enable = true;
programs.vim = {
enable = true;
plugins = lib.mkIf config.mj.base.users.installVimPlugins [
plugins = lib.mkIf config.mj.base.users.devEnvironment [
pkgs.vimPlugins.fugitive
pkgs.vimPlugins.vim-go
pkgs.vimPlugins.zig-vim