home: neovim: add my neovim configuration
This commit is contained in:
parent
ce8d1af8a1
commit
24b400c2f8
4 changed files with 24 additions and 2 deletions
17
flake.lock
17
flake.lock
|
@ -456,6 +456,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nvim": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1702383418,
|
||||||
|
"narHash": "sha256-EYArlahHMWj4yVXTKldVZsbHjg0gxvXqgTxO5BvEfQ8=",
|
||||||
|
"owner": "Guanran928",
|
||||||
|
"repo": "nvim",
|
||||||
|
"rev": "655e863d2548cf9883e94e837f803ed2ae0d6aec",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Guanran928",
|
||||||
|
"repo": "nvim",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pre-commit-hooks-nix": {
|
"pre-commit-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
@ -511,6 +527,7 @@
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nvfetcher": "nvfetcher",
|
"nvfetcher": "nvfetcher",
|
||||||
|
"nvim": "nvim",
|
||||||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||||
"rust-overlay": "rust-overlay",
|
"rust-overlay": "rust-overlay",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
|
|
|
@ -150,6 +150,11 @@
|
||||||
url = "github:MetaCubeX/metacubexd/gh-pages";
|
url = "github:MetaCubeX/metacubexd/gh-pages";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
### My NeoVim configuration
|
||||||
|
nvim = {
|
||||||
|
url = "github:Guanran928/nvim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs: let
|
outputs = inputs: let
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
".config/chromium"
|
".config/chromium"
|
||||||
".config/fcitx5"
|
".config/fcitx5"
|
||||||
".config/Mumble"
|
".config/Mumble"
|
||||||
".config/nvim" # not managed with git because my configuration is trash and i do not want other people to see it
|
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
".config/sops/age/keys.txt"
|
".config/sops/age/keys.txt"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
_: {
|
{inputs, ...}: {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#defaultEditor = true;
|
#defaultEditor = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
};
|
};
|
||||||
|
xdg.configFile."nvim".source = inputs.nvim;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue