2021-12-22 17:23:38 +00:00
|
|
|
{ lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let cfg = config.within.vim;
|
|
|
|
in {
|
|
|
|
options.within.vim.enable = mkEnableOption "Enables Within's vim config";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2022-07-05 15:05:24 +00:00
|
|
|
home.packages = [ pkgs.vim ];
|
2021-12-22 17:23:38 +00:00
|
|
|
home.file.".vimrc".source = ./vimrc;
|
|
|
|
};
|
|
|
|
}
|