about summary refs log tree commit diff stats
path: root/hosts/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-06 20:35:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-06 20:35:28 +0200
commitcd65488531633cbcb1291ed6df0a990e4d57e1c3 (patch)
treeb7189072fb7ba9affc216826d9371d1cca7f8ab0 /hosts/default.nix
parentflake/devShells: Remove unneeded binaries (diff)
downloadnixos-config-cd65488531633cbcb1291ed6df0a990e4d57e1c3.zip
hosts/default.nix: Promote `self` to `specialArgs`
If we import a something, based on the path of one of our flakes inputs,
passing `self` as normal arg will result in an inf rec.
Diffstat (limited to '')
-rw-r--r--hosts/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
index 35b2d08b..64768074 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -29,6 +29,7 @@
         inherit
           libraries
           modules
+          self
           ;
       };
       modules = [
@@ -41,7 +42,6 @@
               # extra information
               system
               # nix registry
-              self
               externalDependencies
               # bins
               # TODO: Integrate these into `pkgs/by-name` <2024-05-22>