Loading nixos/modules/programs/neovim.nix +7 −4 Original line number Diff line number Diff line Loading @@ -138,7 +138,8 @@ in }; source = mkOption { type = types.path; default = null; type = types.nullOr types.path; description = lib.mdDoc "Path of the source file."; }; Loading @@ -160,9 +161,11 @@ in environment.etc = listToAttrs (attrValues (mapAttrs (name: value: { name = "xdg/nvim/${name}"; value = value // { value = removeAttrs (value // { target = "xdg/nvim/${value.target}"; }; }) (optionals (isNull value.source) [ "source" ]); }) cfg.runtime)); Loading Loading
nixos/modules/programs/neovim.nix +7 −4 Original line number Diff line number Diff line Loading @@ -138,7 +138,8 @@ in }; source = mkOption { type = types.path; default = null; type = types.nullOr types.path; description = lib.mdDoc "Path of the source file."; }; Loading @@ -160,9 +161,11 @@ in environment.etc = listToAttrs (attrValues (mapAttrs (name: value: { name = "xdg/nvim/${name}"; value = value // { value = removeAttrs (value // { target = "xdg/nvim/${value.target}"; }; }) (optionals (isNull value.source) [ "source" ]); }) cfg.runtime)); Loading