From 6952c6138b41777c1368d411b0ed17ec70080b9f Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Thu, 29 Jan 2026 20:25:42 -0500 Subject: [PATCH] switch up nixpkgs decs --- flake.lock | 28 +++++++--------------------- flake.nix | 6 ++++-- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/flake.lock b/flake.lock index f63febd..735ea38 100644 --- a/flake.lock +++ b/flake.lock @@ -314,22 +314,6 @@ "type": "github" } }, - "nixpkgs": { - "locked": { - "lastModified": 1769461804, - "narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs-lib": { "locked": { "lastModified": 1765674936, @@ -363,16 +347,16 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1769606632, - "narHash": "sha256-MXgh/DAEtyEoHxSqbVm/jFHuB10xkUiHk059dqvHcgw=", + "lastModified": 1769461804, + "narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9bf1446389d0132a7faf259929b4a8321337b9e8", + "rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d", "type": "github" }, "original": { "owner": "NixOS", - "ref": "master", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -488,7 +472,9 @@ "home-manager": "home-manager", "niri": "niri", "nix-cachyos-kernel": "nix-cachyos-kernel", - "nixpkgs": "nixpkgs", + "nixpkgs": [ + "nixpkgs-unstable" + ], "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-unstable": "nixpkgs-unstable", "nixvim": "nixvim", diff --git a/flake.nix b/flake.nix index 7dc7eb7..b6dad9c 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,11 @@ description = "My NixOS Configuration"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11"; - nixpkgs-unstable.url = "github:NixOS/nixpkgs/master"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; + + # edit this to switch between stable and unstable + nixpkgs.follows = "nixpkgs-unstable"; nix-cachyos-kernel = { url = "github:xddxdd/nix-cachyos-kernel";