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": { "devshell_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -198,7 +198,7 @@
"flake-parts_2": { "flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -291,18 +291,18 @@
"git-hooks": { "git-hooks": {
"inputs": { "inputs": {
"flake-compat": [ "flake-compat": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"flake-compat" "flake-compat"
], ],
"gitignore": "gitignore_2", "gitignore": "gitignore_2",
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-stable": [ "nixpkgs-stable": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -346,7 +346,7 @@
"gitignore_2": { "gitignore_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"git-hooks", "git-hooks",
"nixpkgs" "nixpkgs"
@ -411,7 +411,7 @@
"home-manager_3": { "home-manager_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -448,7 +448,7 @@
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -612,6 +612,26 @@
} }
}, },
"nixvim": { "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": { "inputs": {
"devshell": "devshell_2", "devshell": "devshell_2",
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
@ -637,31 +657,11 @@
"type": "github" "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": { "nuschtosSearch": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_4",
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]
@ -718,7 +718,7 @@
"nix-minecraft": "nix-minecraft", "nix-minecraft": "nix-minecraft",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim-config": "nixvim-config" "nixvim": "nixvim"
} }
}, },
"systems": { "systems": {
@ -814,7 +814,7 @@
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixvim-config", "nixvim",
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
] ]

View file

@ -28,7 +28,7 @@
# Add any other flake you might need. # Add any other flake you might need.
nix-minecraft.url = "github:Infinidoge/nix-minecraft"; 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: outputs = { self, nixpkgs, home-manager, ... }@inputs:

View file

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