fix: downgrade ovmf to stable
its broken in unstable somehow
This commit is contained in:
parent
6480920fde
commit
44bf3841f5
3 changed files with 27 additions and 3 deletions
17
flake.lock
17
flake.lock
|
@ -179,6 +179,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1710420202,
|
||||||
|
"narHash": "sha256-MvFKESbq4rUWuaf2RKPNYENaSZEw/jaCLo2gU6oREcM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "878ef7d9721bee9f81f8a80819f9211ad1f993da",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-23.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682134069,
|
"lastModified": 1682134069,
|
||||||
|
@ -201,6 +217,7 @@
|
||||||
"nil": "nil",
|
"nil": "nil",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"vscode-server": "vscode-server"
|
"vscode-server": "vscode-server"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
||||||
|
|
||||||
nil = {
|
nil = {
|
||||||
|
@ -44,6 +45,7 @@
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{ self
|
inputs@{ self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
|
, nixpkgs-stable
|
||||||
, vscode-server
|
, vscode-server
|
||||||
, agenix
|
, agenix
|
||||||
, bootspec-secureboot
|
, bootspec-secureboot
|
||||||
|
@ -68,7 +70,12 @@
|
||||||
{ home-manager.extraSpecialArgs = specialArgs; }
|
{ home-manager.extraSpecialArgs = specialArgs; }
|
||||||
./hosts/koi/configuration.nix
|
./hosts/koi/configuration.nix
|
||||||
];
|
];
|
||||||
inherit specialArgs;
|
specialArgs = specialArgs // {
|
||||||
|
pkgs-stable = import nixpkgs-stable {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config = { allowUnfree = true; };
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }@inputs:
|
{ pkgs, pkgs-stable, ... }@inputs:
|
||||||
|
|
||||||
let
|
let
|
||||||
mkDiskFlags = disks: if (builtins.length disks == 0) then [ ] else
|
mkDiskFlags = disks: if (builtins.length disks == 0) then [ ] else
|
||||||
|
@ -50,7 +50,7 @@ let
|
||||||
, disks ? [ ]
|
, disks ? [ ]
|
||||||
, usbs ? [ ]
|
, usbs ? [ ]
|
||||||
, extraFlags ? [ ]
|
, extraFlags ? [ ]
|
||||||
, OVMF ? pkgs.OVMF.override {
|
, OVMF ? pkgs-stable.OVMF.override {
|
||||||
secureBoot = true;
|
secureBoot = true;
|
||||||
}
|
}
|
||||||
, enableTpm ? false
|
, enableTpm ? false
|
||||||
|
|
Loading…
Reference in a new issue