fix(flake): remove optional inputs

Some flakes have optional inputs, lets remove them and save some
bandwidth!
This commit is contained in:
Jalil David Salamé Messina 2024-09-30 08:54:49 +02:00
parent d85f1a35f7
commit 11d2c32340
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 13 additions and 127 deletions

View file

@ -114,43 +114,6 @@
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1722113426,
"narHash": "sha256-Yo/3loq572A8Su6aY5GP56knpuKYRvM2a1meP9oJZCw=",
"owner": "numtide",
"repo": "devshell",
"rev": "67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@ -223,58 +186,6 @@
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": [
"nixvim",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": [
"nixvim",
"nixpkgs"
],
"nixpkgs-stable": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1726745158,
"narHash": "sha256-D5AegvGoEjt4rkKedmxlSEmC+nNLMBPWFxvmYnVLhjk=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "4e743a6920eab45e8ba0fbe49dc459f1423a4b74",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"nixvim",
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"gnome-shell": {
"flake": false,
"locked": {
@ -365,13 +276,10 @@
},
"nixvim": {
"inputs": {
"devshell": "devshell",
"flake-compat": [
"stylix",
"flake-compat"
],
"devshell": [],
"flake-compat": [],
"flake-parts": "flake-parts",
"git-hooks": "git-hooks",
"git-hooks": [],
"home-manager": [
"home-manager"
],
@ -379,7 +287,7 @@
"nixpkgs": [
"unstable"
],
"nuschtosSearch": "nuschtosSearch",
"nuschtosSearch": [],
"treefmt-nix": "treefmt-nix"
},
"locked": {
@ -396,30 +304,6 @@
"type": "github"
}
},
"nuschtosSearch": {
"inputs": {
"flake-utils": [
"lix-module",
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1726816132,
"narHash": "sha256-AbB0lgc0IbzLIxj1O3cosiMNAVQak4KJtvq9q8MjHhs=",
"owner": "NuschtOS",
"repo": "search",
"rev": "7733a39a1321057172d87e6251ded7cdeb67171e",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"repo": "search",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
@ -440,7 +324,7 @@
"base16-kitty": "base16-kitty",
"base16-tmux": "base16-tmux",
"base16-vim": "base16-vim",
"flake-compat": "flake-compat",
"flake-compat": [],
"gnome-shell": "gnome-shell",
"home-manager": [
"home-manager"

View file

@ -24,19 +24,21 @@
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
# disable optional inputs
flake-compat.follows = "";
};
};
nixvim = {
url = "github:nix-community/nixvim";
inputs = {
nixpkgs.follows = "unstable";
nix-darwin.follows = ""; # disable MacOS stuff
home-manager.follows = "home-manager";
flake-compat.follows = "stylix/flake-compat";
nuschtosSearch.inputs = {
flake-utils.follows = "lix-module/flake-utils";
nixpkgs.follows = "nixpkgs";
};
# disable optional inputs
flake-compat.follows = "";
nix-darwin.follows = "";
nuschtosSearch.follows = "";
devshell.follows = "";
git-hooks.follows = "";
};
};
# For deduplication