add quickemu patches

This commit is contained in:
Thilo Billerbeck 2023-09-11 00:37:23 +02:00
parent b67d6a6f32
commit 839f37bdb5
2 changed files with 25 additions and 0 deletions

View file

@ -10,6 +10,16 @@ let
}) {}; }) {};
in { in {
config = { config = {
nixpkgs.overlays = [
(final: prev: {
quickemu = prev.quickemu.overrideAttrs (old: {
patches = (old.patches or []) ++ [
./../patches/quickemu.patch
];
});
})
];
home.packages = with pkgs; [ home.packages = with pkgs; [
up up
rbenv rbenv
@ -50,6 +60,7 @@ in {
toolbox toolbox
distrobox distrobox
ddev ddev
mkcert
] ++ (if config.machine.isGraphical then [ ] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override { (pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
@ -77,6 +88,7 @@ in {
discord discord
quickemu quickemu
quickgui quickgui
obsidian
] else [ ]) ++ (if config.machine.isGnome then [ ] else [ ]) ++ (if config.machine.isGnome then [
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-panel gnomeExtensions.dash-to-panel

13
patches/quickemu.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/quickget b/quickget
index 756eb82..19998d0 100755
--- a/quickget
+++ b/quickget
@@ -2133,7 +2133,7 @@ function get_windows() {
# - https://www.itechtics.com/windows-11-download-iso/
# 0 : Prompt for a manual ISO download
# 1 : Download automatically
- local AUTO_DOWNLOAD=1
+ local AUTO_DOWNLOAD=0
local DOWNLOAD_URL=""
if [ ${AUTO_DOWNLOAD} -eq 1 ]; then