From c6c9929a090aa8022045514e09ecafd57a954c27 Mon Sep 17 00:00:00 2001 From: azahi Date: Thu, 10 Oct 2024 03:33:47 +0300 Subject: 2024-10-10 --- overlays.nix | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'overlays.nix') diff --git a/overlays.nix b/overlays.nix index f92a655..ae4a635 100644 --- a/overlays.nix +++ b/overlays.nix @@ -1,6 +1,4 @@ -{ lib, ... }: -with lib; -with packages; +{ inputs, ... }: { default = final: prev: { bruh = prev.callPackage ./packages/bruh.nix { }; @@ -92,5 +90,25 @@ with packages; withSystemVencord = false; withTTS = false; }; + + linuxPackages_xanmod_latest = prev.linuxPackages_xanmod_latest.extend ( + f: _: { + amneziawg = + inputs.nixpkgs-amneziawg.legacyPackages.${final.system}.linuxPackages_xanmod_latest.amneziawg.override + { + inherit (f) kernel; + }; + } + ); + linuxPackages_hardened = prev.linuxPackages_hardened.extend ( + f: _: { + amneziawg = + inputs.nixpkgs-amneziawg.legacyPackages.${final.system}.linuxPackages_hardened.amneziawg.override + { + inherit (f) kernel; + }; + } + ); + inherit (inputs.nixpkgs-amneziawg.legacyPackages.${final.system}) amneziawg-go amneziawg-tools; }; } -- cgit 1.4.1