Add .vimrc config
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib; {
|
||||
options.modules.vim = {
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
};
|
||||
|
||||
config = mkIf config.modules.vim.enable {
|
||||
home.file.".vimrc".source = ./vim/.vimrc;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user