home: nvim: flake inputs -> fetchFromGitHub
This commit is contained in:
parent
40fe7d2035
commit
cd4344b4e5
3 changed files with 7 additions and 26 deletions
17
flake.lock
17
flake.lock
|
@ -492,22 +492,6 @@
|
||||||
"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": [
|
||||||
|
@ -565,7 +549,6 @@
|
||||||
"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",
|
||||||
|
|
|
@ -148,13 +148,6 @@
|
||||||
inputs.hyprland-protocols.follows = "hyprland-protocols";
|
inputs.hyprland-protocols.follows = "hyprland-protocols";
|
||||||
inputs.systems.follows = "systems-linux";
|
inputs.systems.follows = "systems-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Non-Flake
|
|
||||||
### My NeoVim configuration
|
|
||||||
nvim = {
|
|
||||||
url = "github:Guanran928/nvim";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs: let
|
outputs = inputs: let
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
{inputs, ...}: {
|
{pkgs, ...}: {
|
||||||
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;
|
xdg.configFile."nvim".source = pkgs.fetchFromGitHub {
|
||||||
|
owner = "Guanran928";
|
||||||
|
repo = "nvim";
|
||||||
|
rev = "655e863d2548cf9883e94e837f803ed2ae0d6aec";
|
||||||
|
hash = "sha256-EYArlahHMWj4yVXTKldVZsbHjg0gxvXqgTxO5BvEfQ8=";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue