mirror of
https://github.com/itme-brain/nixos.git
synced 2026-06-22 15:40:13 -04:00
updated
This commit is contained in:
parent
da8ee67320
commit
c5c4b97b36
6 changed files with 6 additions and 7 deletions
|
|
@ -3,7 +3,6 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.modules.user.neovim;
|
||||
nvimConfigPath = "${config.home.homeDirectory}/nixos/user/modules/neovim/nvim";
|
||||
|
||||
in
|
||||
{ options.modules.user.neovim = { enable = mkEnableOption "user.neovim"; };
|
||||
|
|
@ -34,7 +33,7 @@ in
|
|||
home.file.".config/nvim" = {
|
||||
# Keep Neovim's config writable. In a flake, `./nvim` is copied into
|
||||
# /nix/store before Home Manager can create an out-of-store symlink.
|
||||
source = config.lib.file.mkOutOfStoreSymlink nvimConfigPath;
|
||||
source = ./nvim;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue