summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common.nix4
-rw-r--r--hosts/muhammed/configuration.nix2
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.