Reuse inputs where possible

This commit is contained in:
Tristan D. 2024-07-16 17:03:33 +02:00
parent 4a28938d46
commit c6438b2f1d
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 180 additions and 693 deletions

805
flake.lock generated

File diff suppressed because it is too large Load diff

View file

@ -4,24 +4,61 @@
nixConfig = { }; nixConfig = { };
inputs = { inputs = {
systems = {
url = "github:nix-systems/x86_64-linux";
};
nixos-hardware = { nixos-hardware = {
url = "github:NixOS/nixos-hardware/master"; url = "github:NixOS/nixos-hardware/master";
}; };
nixpkgs = { nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable"; url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
nixpkgs-stable = {
url = "github:NixOS/nixpkgs/nixos-24.05";
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
gitignore = {
url = "github:hercules-ci/gitignore.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
inputs.flake-compat.follows = "flake-compat";
inputs.gitignore.follows = "gitignore";
};
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
lanzaboote = { lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1"; url = "github:nix-community/lanzaboote/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.flake-compat.follows = "flake-compat";
inputs.pre-commit-hooks-nix.follows = "pre-commit-hooks";
inputs.flake-parts.follows = "flake-parts";
};
nixinate = {
url = "git+https://git.vlt81.de/tristan/nixinate.git";
inputs.nixpkgs.follows = "nixpkgs";
}; };
nixinate.url = "git+https://git.vlt81.de/tristan/nixinate.git";
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
}; };
chaotic = { chaotic = {
url = "github:vault81/nyx-early-bump/main"; url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
inputs.systems.follows = "systems";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
@ -29,7 +66,8 @@
}; };
emacs-overlay = { emacs-overlay = {
url = "github:nix-community/emacs-overlay/66f48ac73046a9dab5f896f0bfa5c618b94417cb"; url = "github:nix-community/emacs-overlay/66f48ac73046a9dab5f896f0bfa5c618b94417cb";
inputs.nixpkgs-stable.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
disko = { disko = {
@ -38,11 +76,12 @@
}; };
nur = { nur = {
url = "github:nix-community/NUR"; url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-wallpaper = { nix-wallpaper = {
url = "github:lunik1/nix-wallpaper"; url = "github:lunik1/nix-wallpaper";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
}; };
nix-index-database = { nix-index-database = {
url = "github:Mic92/nix-index-database"; url = "github:Mic92/nix-index-database";
@ -53,15 +92,28 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager"; inputs.home-manager.follows = "home-manager";
}; };
nix-alien.url = "github:thiagokokada/nix-alien"; nix-alien = {
nixtheplanet.url = "github:matthewcroughan/nixtheplanet"; url = "github:thiagokokada/nix-alien";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nix-index-database.follows = "nix-index-database";
inputs.flake-utils.follows = "flake-utils";
inputs.flake-compat.follows = "flake-compat";
};
envfs = { envfs = {
url = "github:Mic92/envfs"; url = "github:Mic92/envfs";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
nix-ld-rs = {
url = "github:nix-community/nix-ld-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.flake-compat.follows = "flake-compat";
}; };
nix-ld-rs.url = "github:nix-community/nix-ld-rs";
llama-cpp = { llama-cpp = {
url = "git+https://git.vlt81.de/tristan/llama.cpp.git"; url = "git+https://git.vlt81.de/tristan/llama.cpp.git";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
}; };
}; };
@ -71,7 +123,6 @@
, lanzaboote , lanzaboote
, nixos-hardware , nixos-hardware
, lix-module , lix-module
, nixtheplanet
, nixinate , nixinate
, home-manager , home-manager
, plasma-manager , plasma-manager
@ -115,7 +166,6 @@
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
nur.nixosModules.nur nur.nixosModules.nur
chaotic.nixosModules.default chaotic.nixosModules.default
nixtheplanet.nixosModules.macos-ventura
envfs.nixosModules.envfs envfs.nixosModules.envfs
]; ];
args = { args = {