refactor(nix): prevent using too many nixpkgs

This commit is contained in:
matt1432 2023-10-11 18:02:04 -04:00
parent 5a5ea921a7
commit 8713da209b

View file

@ -2,19 +2,31 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hyprland.url = "github:hyprwm/Hyprland"; hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprgrass = { hyprgrass = {
url = "github:horriblename/hyprgrass"; url = "github:horriblename/hyprgrass";
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
ags.url = "github:Aylur/ags";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; ags = {
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, home-manager, nur, ... }@attrs: { outputs = { self, nixpkgs, home-manager, nur, ... }@attrs: {
@ -30,6 +42,7 @@
settings = { settings = {
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
keep-outputs = true; keep-outputs = true;
keep-derivations = true;
auto-optimise-store = true; auto-optimise-store = true;
warn-dirty = false; warn-dirty = false;
}; };