summaryrefslogtreecommitdiff
path: root/hosts/common.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-01 18:16:03 +0200
committerLinnnus <[email protected]>2023-10-01 18:16:03 +0200
commit7451c6a93b42ad1ae4a1a95664c2d8a6bdb11f72 (patch)
tree73357ed8a6ac266339392b11639714b1aa60a261 /hosts/common.nix
parentd7fc02342227fbd442f47e27fa12a42ff7998cd5 (diff)
Remove special 'self' argument
This can be accessed through flakeInputs anyways.
Diffstat (limited to 'hosts/common.nix')
-rw-r--r--hosts/common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/common.nix b/hosts/common.nix
index 32baeb5..5a9bc52 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -1,6 +1,6 @@
# Shared configuraion regardless of hosts.
-{ pkgs, options, self, flakeInputs, ... }:
+{ pkgs, options, flakeInputs, ... }:
{
# Enable de facto stable features.
@@ -11,7 +11,7 @@
#
# See: https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH
nixpkgs.overlays = (import ../pkgs/overlays.nix);
- nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs-overlays=${self}/pkgs/overlays.nix" ];
+ nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs-overlays=${flakeInputs.self}/pkgs/overlays.nix" ];
# Set ZSH as the shell.
# https://nixos.wiki/wiki/Command_Shell#Changing_default_shelltrue