Files
nixos-config/overlays/default.nix
T

63 lines
2.2 KiB
Nix
Raw Normal View History

2024-10-20 00:30:58 +02:00
{inputs, ...}: {
# This one brings our custom packages from the 'pkgs' directory
# additions = final: prev:
# (import ../pkgs {pkgs = final;})
# // {rose-pine-hyprcursor = inputs.rose-pine-hyprcursor.packages.${prev.system}.default;};
2025-09-29 18:58:19 +02:00
2024-10-20 00:30:58 +02:00
# This one contains whatever you want to overlay
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
# aardvark-dns 2.x has a DNS forwarding bug breaking external name
# resolution in podman networks — pin to last 1.x from nixpkgs-stable.
aardvark-dns = import ./mods/aardvark-dns.nix {inherit (final) stable;};
# font-manager 0.9.4 does not compile against gtk4 4.22 (Vala errors
# in Gtk.DragIcon.get_for_drag) — apply the upstream fix from
# FontManager/font-manager#468 until our nixpkgs lock carries it.
font-manager = import ./mods/font-manager.nix {inherit prev;};
};
2024-10-20 00:30:58 +02:00
2026-07-10 15:19:44 +02:00
# temp-packages = final: _prev: {
# temp = import inputs.nixpkgs-9e9486b {
# system = final.stdenv.hostPlatform.system;
# config.allowUnfree = true;
# };
# };
2025-05-06 14:41:27 +02:00
2024-10-20 00:30:58 +02:00
stable-packages = final: _prev: {
stable = import inputs.nixpkgs-stable {
2026-03-28 10:17:29 +01:00
system = final.stdenv.hostPlatform.system;
2024-10-20 00:30:58 +02:00
config.allowUnfree = true;
};
};
2024-11-07 10:50:13 +01:00
2026-07-10 15:19:44 +02:00
# pinned-packages = final: _prev: {
# pinned = import inputs.nixpkgs-9472de4 {
# system = final.stdenv.hostPlatform.system;
# config.allowUnfree = true;
# };
# };
2024-11-07 10:50:13 +01:00
2026-07-10 15:19:44 +02:00
# locked-packages = final: _prev: {
# locked = import inputs.nixpkgs-locked {
# system = final.stdenv.hostPlatform.system;
# config.allowUnfree = true;
# };
# };
2025-03-28 10:00:43 +01:00
2024-11-07 10:50:13 +01:00
master-packages = final: _prev: {
master = import inputs.nixpkgs-master {
2026-03-28 10:17:29 +01:00
system = final.stdenv.hostPlatform.system;
2024-11-07 10:50:13 +01:00
config.allowUnfree = true;
};
};
2026-03-07 11:44:04 +01:00
# llm-agent packages (qmd, herdr, beads, …) come from
# inputs.llm-agents.overlays.shared-nixpkgs, applied directly in
# hosts/common/default.nix. They are consumed via the `pkgs.llm-agents.*`
# namespace — no flattening to top-level attributes (that clobbered
# nixpkgs attrs like buildNpmPackage/fetchPnpmDeps and needed a
# hard-to-maintain blocklist).
2024-10-20 00:30:58 +02:00
}