{ inputs, ... }: { flake-file.inputs = { nixvim.url = "github:nix-community/nixvim/nixos-26.05"; nixvim.inputs.nixpkgs.follows = "nixpkgs"; }; flake.modules.homeManager.nixvim = { imports = [ inputs.nixvim.homeModules.nixvim ]; programs.nixvim = { enable = true; opts = { number = true; relativenumber = true; shiftwidth = 2; tabstop = 2; scrolloff = 20; cursorline = true; clipboard = "unnamedplus"; }; keymaps = [ { mode = [ "" "i" "t" ]; key = "fj"; action = ""; } ]; }; home.sessionVariables.EDITOR = "nvim"; }; }