fix: remove nixvim hardcoded system

This commit is contained in:
♥ Minnie ♥ 2024-08-08 08:44:10 +08:00
parent be1df0d826
commit 53378cdfc9
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 34 additions and 34 deletions

View file

@ -112,7 +112,7 @@
"devshell_2": {
"inputs": {
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -198,7 +198,7 @@
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -291,18 +291,18 @@
"git-hooks": {
"inputs": {
"flake-compat": [
"nixvim-config",
"nixvim",
"nixvim",
"flake-compat"
],
"gitignore": "gitignore_2",
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
],
"nixpkgs-stable": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -346,7 +346,7 @@
"gitignore_2": {
"inputs": {
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"git-hooks",
"nixpkgs"
@ -411,7 +411,7 @@
"home-manager_3": {
"inputs": {
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -448,7 +448,7 @@
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -612,6 +612,26 @@
}
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_4",
"nixvim": "nixvim_2"
},
"locked": {
"lastModified": 1723012155,
"narHash": "sha256-7AlUEGsbIOCQmIRc+lH/k2CJ32pdEkFszyMekTOVoJc=",
"ref": "refs/heads/master",
"rev": "e3dc3f07d69bcb0c9df5875aefd7dbf3877be794",
"revCount": 14,
"type": "git",
"url": "https://git.sajenim.dev/jasmine/nvim.nix.git"
},
"original": {
"type": "git",
"url": "https://git.sajenim.dev/jasmine/nvim.nix.git"
}
},
"nixvim_2": {
"inputs": {
"devshell": "devshell_2",
"flake-compat": "flake-compat_3",
@ -637,31 +657,11 @@
"type": "github"
}
},
"nixvim-config": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_4",
"nixvim": "nixvim"
},
"locked": {
"lastModified": 1723012155,
"narHash": "sha256-7AlUEGsbIOCQmIRc+lH/k2CJ32pdEkFszyMekTOVoJc=",
"ref": "refs/heads/master",
"rev": "e3dc3f07d69bcb0c9df5875aefd7dbf3877be794",
"revCount": 14,
"type": "git",
"url": "https://git.sajenim.dev/jasmine/nvim.nix.git"
},
"original": {
"type": "git",
"url": "https://git.sajenim.dev/jasmine/nvim.nix.git"
}
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils_4",
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]
@ -718,7 +718,7 @@
"nix-minecraft": "nix-minecraft",
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim-config": "nixvim-config"
"nixvim": "nixvim"
}
},
"systems": {
@ -814,7 +814,7 @@
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixvim-config",
"nixvim",
"nixvim",
"nixpkgs"
]

View file

@ -28,7 +28,7 @@
# Add any other flake you might need.
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
nixvim-config.url = "git+https://git.sajenim.dev/jasmine/nvim.nix.git";
nixvim.url = "git+https://git.sajenim.dev/jasmine/nvim.nix.git";
};
outputs = { self, nixpkgs, home-manager, ... }@inputs:

View file

@ -1,7 +1,7 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
# Install our nixvim configuration for neovim.
home.packages = [ inputs.nixvim-config.packages.x86_64-linux.default ];
home.packages = [ inputs.nixvim.packages.${pkgs.system}.default ];
}