Skip to content

Commit

Permalink
flake: inputs: remove optional and unused inputs to reduce footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Aug 23, 2024
1 parent f5be08b commit eb8cc7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 74 deletions.
62 changes: 6 additions & 56 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 6 additions & 18 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
inputs = {
agenix = {
inputs = {
darwin.follows = "nixDarwin";
darwin.follows = "";
home-manager.follows = "homeManager";
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
Expand All @@ -18,20 +18,14 @@
url = "github:sayanarijit/dragon.xplr";
};

# This input ensures consistent versioning across inputs.
flakeCompat = {
flake = false;
url = "github:edolstra/flake-compat";
};

flakeUtils = {
inputs.systems.follows = "systems";
url = "github:numtide/flake-utils";
};

gitHooks = {
inputs = {
flake-compat.follows = "flakeCompat";
flake-compat.follows = "";
flake-utils.follows = "flakeUtils";
nixpkgs-stable.follows = "gitHooks/nixpkgs";
nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -65,19 +59,13 @@
# >
# > -- https://github.com/thiagokokada/nix-alien/blob/75c0c2d5eb1fdd2c5187c49888cab40b060605fa/README.md#nixos-installation-with-flakes
inputs = {
flake-compat.follows = "flakeCompat";
flake-compat.follows = "";
flake-utils.follows = "flakeUtils";
};

url = "github:thiagokokada/nix-alien";
};

# This input ensures consistent versioning across inputs.
nixDarwin = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:lnl7/nix-darwin";
};

nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

# TODO: Replace this fork with Nixpkgs once [1] is merged.
Expand All @@ -100,9 +88,9 @@

nixvim = {
inputs = {
flake-compat.follows = "flakeCompat";
flake-compat.follows = "";
home-manager.follows = "homeManager";
nix-darwin.follows = "nixDarwin";
nix-darwin.follows = "";
nixpkgs.follows = "nixpkgs";
pre-commit-hooks.follows = "gitHooks";
};
Expand All @@ -112,7 +100,7 @@

stylix = {
inputs = {
flake-compat.follows = "flakeCompat";
flake-compat.follows = "";
home-manager.follows = "homeManager";
nixpkgs.follows = "nixpkgs";
};
Expand Down

0 comments on commit eb8cc7e

Please sign in to comment.