From dc797f4b6a4fd6f111fc76490f569310d215eaea Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 19 Dec 2024 19:00:00 -0600 Subject: [PATCH] track nix 24.11 --- flake.nix | 10 +++++----- overlays/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 78e6567..2b627f5 100644 --- a/flake.nix +++ b/flake.nix @@ -6,15 +6,15 @@ # - https://github.com/Misterio77/nix-config/ inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; # You can access packages and modules from different nixpkgs revs # at the same time. Here's a working example: - nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.11"; - # Also see the 'stable-packages' overlay at 'nix/overlays/default.nix'. + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + # Also see the 'unstable-packages' overlay at 'overlays/default.nix'. # Home manager home-manager = { - url = "github:nix-community/home-manager"; + url = "github:nix-community/home-manager/release-24.11"; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -29,7 +29,7 @@ # nixvim nixvim = { - url = "github:nix-community/nixvim"; + url = "github:nix-community/nixvim/nixos-24.11"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/overlays/default.nix b/overlays/default.nix index 6d03fac..b9e5f13 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -15,8 +15,8 @@ # When applied, the stable nixpkgs set (declared in the flake inputs) will # be accessible through 'pkgs.stable' - stable-packages = final: _prev: { - stable = import inputs.nixpkgs-stable { + unstable-packages = final: _prev: { + unstable = import inputs.nixpkgs-unstable { system = final.system; config.allowUnfree = true; };