From 2199247c59044e923e7a2df586375796ea43da36 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 14 Sep 2023 20:44:54 +0200 Subject: [PATCH] Use the small channels for stable and unstable --- flake.lock | 16 ++++++++-------- flake.nix | 7 +++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 9acb519..9dd5a02 100644 --- a/flake.lock +++ b/flake.lock @@ -38,32 +38,32 @@ }, "nixpkgs": { "locked": { - "lastModified": 1694304580, - "narHash": "sha256-5tIpNodDpEKT8mM/F5zCzWEAnidOg8eb1/x3SRaaBLs=", + "lastModified": 1694618689, + "narHash": "sha256-UQiOf8CTokDuyQgY6NpeXDL1fkeDHyNI5rfJ+wy9rg8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4c8cf44c5b9481a4f093f1df3b8b7ba997a7c760", + "rev": "e27ca312d56522b907b998c2ff99169bf12639f2", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-23.05", + "ref": "nixos-23.05-small", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-unstable": { "locked": { - "lastModified": 1694183432, - "narHash": "sha256-YyPGNapgZNNj51ylQMw9lAgvxtM2ai1HZVUu3GS8Fng=", + "lastModified": 1694669921, + "narHash": "sha256-6ESpJ6FsftHV96JO/zn6je07tyV2dlLR7SdLsmkegTY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "db9208ab987cdeeedf78ad9b4cf3c55f5ebd269b", + "rev": "f2ea252d23ebc9a5336bf6a61e0644921f64e67c", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-unstable", + "ref": "nixos-unstable-small", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index ad5c3b9..2c69d36 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,11 @@ description = "CCCHH Nix Infrastructure"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05"; - nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + # Use the NixOS small channels for nixpkgs. + # https://nixos.org/manual/nixos/stable/#sec-upgrading + # https://github.com/NixOS/nixpkgs + nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05-small"; + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small"; # Add nixos-generators as an input. # See here: https://github.com/nix-community/nixos-generators#using-in-a-flake