From 527daeb39a74cf55363d7534d0917e2264a2c745 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Wed, 18 Sep 2024 20:30:57 +0200 Subject: [PATCH] fix nixpkgs nix path entry --- config/nixos/applications/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nixos/applications/nix.nix b/config/nixos/applications/nix.nix index 8dadf139..eb7e0226 100644 --- a/config/nixos/applications/nix.nix +++ b/config/nixos/applications/nix.nix @@ -1,4 +1,4 @@ -{ config, lib, inputs, ... }: +{ config, lib, ... }: { options.uwumarie.profiles.nix = lib.mkEnableOption (lib.mdDoc "nix config") // { default = true; @@ -18,7 +18,7 @@ }; # registry.nixpkgs.flake = inputs.nixpkgs; nixPath = [ - "nixpkgs=${inputs.nixpkgs}" + "nixpkgs=${config.nixpkgs.flake.source}" ]; }; };