fix: nixpkgs-unstable -> nixos-unstable

This commit is contained in:
Giulio De Pasquale 2025-04-22 12:16:01 +01:00
parent a467cbe6dc
commit a7b03d9b9a

View File

@ -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;