From a7b03d9b9af206c4432ae0ec8a4229518cb31a39 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 22 Apr 2025 12:16:01 +0100 Subject: [PATCH] fix: nixpkgs-unstable -> nixos-unstable --- flake.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 7863b57..c8b5354 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/26d499fc9f1d567283d5d56fcf367edd815dba1d"; - nixpkgs-unstable.url = "github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c"; + nixos-release.url = "github:NixOS/nixpkgs/26d499fc9f1d567283d5d56fcf367edd815dba1d"; + nixos-unstable.url = "github:NixOS/nixpkgs/b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef"; nixpkgs-master.url = "github:NixOS/nixpkgs/master"; local-unstable.url = "path:///home/giulio/dev/nixpkgs"; pepeflake.url = "git+https://git.giugl.io/peperunas/pepeflake"; @@ -19,8 +19,8 @@ outputs = { self - , nixpkgs - , nixpkgs-unstable + , nixos-release + , nixos-unstable , nixpkgs-master , local-unstable , home-manager @@ -61,7 +61,7 @@ overlays = extOverlays; }; - unstablePkgs = importNixpkgs { flake = nixpkgs-unstable; }; + unstablePkgs = importNixpkgs { flake = nixos-unstable; }; masterPkgs = importNixpkgs { flake = nixpkgs-master; }; localPkgs = importNixpkgs { flake = local-unstable; }; teslamatePkgs = importNixpkgs { flake = teslamate-flake; }; @@ -77,7 +77,7 @@ (final: prev: { inherit pepePkgs; }) ]; in - import nixpkgs { + import nixos-release { inherit system config; overlays = additionalOverlays ++ extOverlays ++ [ (final: prev: { @@ -95,7 +95,7 @@ inherit (pkgs) newScope; in makeScope newScope (self: rec { - inherit nixpkgs home-manager nixpkgs-unstable; + inherit nixos-release home-manager nixos-unstable; inherit (self.callPackage ./lib/utils.nix { }) mkSysRole mkHomeRole; inherit (user) mkUser;