vim nitpicks
This commit is contained in:
parent
74b19c049b
commit
7063b1d84e
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue