diff options
author | Linnnus <[email protected]> | 2023-10-01 18:16:03 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-01 18:16:03 +0200 |
commit | 7451c6a93b42ad1ae4a1a95664c2d8a6bdb11f72 (patch) | |
tree | 73357ed8a6ac266339392b11639714b1aa60a261 /hosts | |
parent | d7fc02342227fbd442f47e27fa12a42ff7998cd5 (diff) |
Remove special 'self' argument
This can be accessed through flakeInputs anyways.
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/common.nix | 4 | ||||
-rw-r--r-- | hosts/muhammed/configuration.nix | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix index f338cdd..db54aff 100644 --- a/hosts/muhammed/configuration.nix +++ b/hosts/muhammed/configuration.nix @@ -1,6 +1,6 @@ # This file contains the configuration for my Macbook Pro. -{ pkgs, flakeInputs, lib, ... }: +{ flakeInputs, ... }: { # Specify the location of this configuration file. Very meta. |