From 2d5bdf72fc6c1351b1c25aaf7b6705b7b500f357 Mon Sep 17 00:00:00 2001 From: alina sireneva Date: Tue, 16 Apr 2024 04:17:24 +0300 Subject: [PATCH] fix(osx): pinned nixpkgs for nix shell --- hosts/teidesu-osx/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/teidesu-osx/configuration.nix b/hosts/teidesu-osx/configuration.nix index c9b778d..260ae50 100644 --- a/hosts/teidesu-osx/configuration.nix +++ b/hosts/teidesu-osx/configuration.nix @@ -1,4 +1,5 @@ { pkgs +, lib , abs , inputs , ... @@ -10,7 +11,20 @@ settings.trusted-users = [ "@admin" ]; useDaemon = true; + + registry = { + nixpkgs.to = { + type = "github"; + owner = "NixOS"; + repo = "nixpkgs"; + rev = inputs.nixpkgs.rev; + }; + }; + + settings.nix-path = [ "nixpkgs=flake:nixpkgs" ]; }; + # nixpkgs.flake.source = lib.mkForce null; + nixpkgs.hostPlatform = "aarch64-darwin"; services.nix-daemon.enable = true;