fix: fallback from unstable to stable caused NixOS failed to boot(precondition: the system image is created with unstable nixpkgs)

This commit is contained in:
Ryan Yin
2023-06-21 01:09:46 +08:00
parent ec4d00509e
commit dd472488b6
3 changed files with 15 additions and 0 deletions

View File

@@ -8,6 +8,11 @@
{
imports = [
{
# override the default nixpkgs
nixpkgs.pkgs = args.pkgs-unstable;
}
../../../modules/nixos/proxmox-hardware-configuration.nix
../../../modules/nixos/core-server.nix

View File

@@ -8,6 +8,11 @@
{
imports = [
{
# override the default nixpkgs
nixpkgs.pkgs = args.pkgs-unstable;
}
../../../modules/nixos/proxmox-hardware-configuration.nix
../../../modules/nixos/core-server.nix

View File

@@ -10,6 +10,11 @@
{
imports = [
{
# override the default nixpkgs
nixpkgs.pkgs = args.pkgs-unstable;
}
../../../modules/nixos/proxmox-hardware-configuration.nix
../../../modules/nixos/core-server.nix