Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-28 07:43:28 -0400
committerGitHub <noreply@github.com>2021-04-28 07:43:28 -0400
commit3961f252c87e3811561e845a9689007d17e3628e (patch)
tree10a6fb2755810f5c4d07214fa5793c5027e6e2f1
parent58d933e150999aea0625623027935ca0c89558b5 (diff)
Allow Sway Nvidia override
-rw-r--r--profiles/sway.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/sway.py b/profiles/sway.py
index f132df33..c3a6e31a 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -12,7 +12,10 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
if "nvidia" in _gfx_driver_packages:
- raise archinstall.lib.exceptions.HardwareIncompatibilityError("Sway does not support the proprietary nvidia drivers")
+ choice = input("The proprietary Nvidia driver is not supported by Sway. It is likely that you will run into issues. Continue anyways? [y/N] ")
+ if choice.lower() in ("n", ""):
+ raise archinstall.lib.exceptions.HardwareIncompatibilityError("Sway does not support the proprietary nvidia drivers.")
+
__builtins__['_gfx_driver_packages'] = archinstall.select_driver()
return True