From 839f37bdb561ccd4a4ada36fa5b063c2975c5693 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Mon, 11 Sep 2023 00:37:23 +0200 Subject: [PATCH] add quickemu patches --- modules/packages.nix | 12 ++++++++++++ patches/quickemu.patch | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 patches/quickemu.patch diff --git a/modules/packages.nix b/modules/packages.nix index b1e941d..976d6be 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -10,6 +10,16 @@ let }) {}; in { config = { + nixpkgs.overlays = [ + (final: prev: { + quickemu = prev.quickemu.overrideAttrs (old: { + patches = (old.patches or []) ++ [ + ./../patches/quickemu.patch + ]; + }); + }) + ]; + home.packages = with pkgs; [ up rbenv @@ -50,6 +60,7 @@ in { toolbox distrobox ddev + mkcert ] ++ (if config.machine.isGraphical then [ (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; @@ -77,6 +88,7 @@ in { discord quickemu quickgui + obsidian ] else [ ]) ++ (if config.machine.isGnome then [ gnomeExtensions.blur-my-shell gnomeExtensions.dash-to-panel diff --git a/patches/quickemu.patch b/patches/quickemu.patch new file mode 100644 index 0000000..3df0af3 --- /dev/null +++ b/patches/quickemu.patch @@ -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