kexec-installer: disable channel in unstable

This commit is contained in:
Jörg Thalheim 2023-11-02 10:57:25 +01:00
parent dd2e96b4a4
commit 6b3ebfbf99
2 changed files with 13 additions and 9 deletions

View file

@ -18,16 +18,16 @@
},
"nixos-unstable": {
"locked": {
"lastModified": 1698800439,
"narHash": "sha256-SrAwRi266j7U9XqCl0qPwsvcFiQ55iPXEK36ZX6QPjE=",
"owner": "NixOS",
"lastModified": 1698919212,
"narHash": "sha256-Sd1h8Dj687VgSj+h4qP8hDcTAzzxJy/MWm+gulO14jA=",
"owner": "Mic92",
"repo": "nixpkgs",
"rev": "0ac7840a74c53b62f124e86fcde8cdd45f2bc131",
"rev": "c7614b205e20752323019d07c65b87d571486ced",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"owner": "Mic92",
"ref": "smaller-installer",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -1,7 +1,8 @@
{
description = "NixOS images";
inputs.nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
#inputs.nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
inputs.nixos-unstable.url = "github:Mic92/nixpkgs/smaller-installer"; # https://github.com/NixOS/nixpkgs/pull/263974
inputs.nixos-2305.url = "github:NixOS/nixpkgs/release-23.05";
nixConfig.extra-substituters = [
@ -26,8 +27,11 @@
kexec-installer-nixos-2305 = kexec-installer nixos-2305 [];
kexec-installer-nixos-unstable-noninteractive = kexec-installer nixos-unstable [
{ system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; }
self.nixosModules.noninteractive
{
system.kexec-installer.name = "nixos-kexec-installer-noninteractive";
system.installer.channel.enable = false; # TODO: enable this also in the 23.11 edition, once we have it.
}
self.nixosModules.noninteractive
];
kexec-installer-nixos-2305-noninteractive = kexec-installer nixos-2305 [
{ system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; }