diff options
author | azahi <azat@bahawi.net> | 2024-10-10 03:33:47 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2024-10-10 03:33:47 +0300 |
commit | c6c9929a090aa8022045514e09ecafd57a954c27 (patch) | |
tree | 0a71feedcada203c045f94d01bc2d8b733b067ee /overlays.nix | |
parent | 2024-08-20 (diff) |
2024-10-10
Diffstat (limited to '')
-rw-r--r-- | overlays.nix | 24 |
1 files changed, 21 insertions, 3 deletions
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; }; } |