From 5a9f9ec190b213b45de7ef4f2830b32e7e04b268 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 17 May 2024 21:23:39 +0200 Subject: [PATCH] Add nixos-unstable registry --- darwin.nix | 4 ++++ nixos/base.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/darwin.nix b/darwin.nix index 28b8e255..fd168e68 100644 --- a/darwin.nix +++ b/darwin.nix @@ -13,6 +13,10 @@ to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; }; }; nixpkgs.flake = nixpkgs-flake; + nixpkgs-unstable = { + from = { type = "indirect"; id = "nixpkgs-unstable"; }; + to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; }; + }; }; nix.nixPath = [ { nixpkgs = pkgs.path; } ]; diff --git a/nixos/base.nix b/nixos/base.nix index 7b5e8dbc..2dbeb3f1 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -17,6 +17,10 @@ to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; }; }; nixpkgs.flake = nixpkgs-flake; + nixpkgs-unstable = { + from = { type = "indirect"; id = "nixpkgs"; }; + to = "github:nixos/nixpkgs/nixos-unstable"; + }; }; nix.nixPath = [ "nixpkgs=${pkgs.path}" ];