From 43f04499ba724dc37f1bd7523fdf328edebcaa5c Mon Sep 17 00:00:00 2001 From: NullBite Date: Mon, 19 Feb 2024 22:10:26 +0100 Subject: [PATCH] system: Use system nixpkgs in nix module --- system/common/nix.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/common/nix.nix b/system/common/nix.nix index c78c222..85ed363 100644 --- a/system/common/nix.nix +++ b/system/common/nix.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, options, inputs, ... }: +{ pkgs, lib, config, options, inputs, nixpkgs, ... }: let cfg = config.nixfiles.common.nix; in @@ -39,7 +39,7 @@ in type = "github"; owner = "NixOS"; repo = "nixpkgs"; - rev = "${inputs.nixpkgs.rev}"; + rev = "${nixpkgs.rev}"; }; }; }; @@ -48,7 +48,7 @@ in # compatibility becasue once `, vkcube` couldn't find the correct opengl # driver or something (also it reduces the download size of temporary shell # closures) - nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ] ++ options.nix.nixPath.default; + nix.nixPath = [ "nixpkgs=${nixpkgs}" ] ++ options.nix.nixPath.default; }) ( lib.mkIf cfg.enable {