about summary refs log tree commit diff
path: root/overlays.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-10-21 16:18:14 +0300
committerazahi <azat@bahawi.net>2024-10-21 16:18:14 +0300
commit589c40482489e4d844ad7e540bf90fec07b9b631 (patch)
tree082cf60cf7ecbe5d8205ff8f5c2c7d36da0aec01 /overlays.nix
parent2024-10-21 (diff)
2024-10-21
Diffstat (limited to 'overlays.nix')
-rw-r--r--overlays.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/overlays.nix b/overlays.nix
index 5800a76..4a4401c 100644
--- a/overlays.nix
+++ b/overlays.nix
@@ -118,32 +118,35 @@
         };
 
     linuxPackages_latest = prev.linuxPackages_latest.extend (
-      x: _: {
+      self: _: {
         amneziawg =
           inputs.nixpkgs-amneziawg.legacyPackages.${final.system}.linuxPackages_latest.amneziawg.override
             {
-              inherit (x) kernel;
+              inherit (self) kernel;
             };
       }
     );
     linuxPackages_hardened = prev.linuxPackages_hardened.extend (
-      x: _: {
+      self: _: {
         amneziawg =
           inputs.nixpkgs-amneziawg.legacyPackages.${final.system}.linuxPackages_hardened.amneziawg.override
             {
-              inherit (x) kernel;
+              inherit (self) kernel;
             };
       }
     );
     linuxPackages_xanmod_latest = prev.linuxPackages_xanmod_latest.extend (
-      x: _: {
+      self: _: {
         amneziawg =
           inputs.nixpkgs-amneziawg.legacyPackages.${final.system}.linuxPackages_xanmod_latest.amneziawg.override
             {
-              inherit (x) kernel;
+              inherit (self) kernel;
             };
       }
     );
-    inherit (inputs.nixpkgs-amneziawg.legacyPackages.${final.system}) amneziawg-go amneziawg-tools;
+    inherit (inputs.nixpkgs-amneziawg.legacyPackages.${final.system})
+      amneziawg-go
+      amneziawg-tools
+      ;
   };
 }

Consider giving Nix/NixOS a try! <3