Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/applications/awesome.py12
-rw-r--r--profiles/applications/cockpit.py6
-rw-r--r--profiles/awesome.py7
-rw-r--r--profiles/budgie.py7
-rw-r--r--profiles/deepin.py8
-rw-r--r--profiles/desktop.py4
-rw-r--r--profiles/enlightenment.py7
-rw-r--r--profiles/gnome.py6
-rw-r--r--profiles/i3.py14
-rw-r--r--profiles/kde.py10
-rw-r--r--profiles/mate.py7
-rw-r--r--profiles/server.py12
-rw-r--r--profiles/sway.py4
-rw-r--r--profiles/xfce4.py7
-rw-r--r--profiles/xorg.py9
15 files changed, 98 insertions, 22 deletions
diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py
index d5a8e793..33526fd7 100644
--- a/profiles/applications/awesome.py
+++ b/profiles/applications/awesome.py
@@ -1,6 +1,16 @@
import archinstall
-__packages__ = ["awesome", "xorg-xrandr", "xterm", "feh", "slock", "terminus-font", "gnu-free-fonts", "ttf-liberation", "xsel"]
+__packages__ = [
+ "awesome",
+ "xorg-xrandr",
+ "xterm",
+ "feh",
+ "slock",
+ "terminus-font",
+ "gnu-free-fonts",
+ "ttf-liberation",
+ "xsel",
+]
archinstall.storage['installation_session'].install_profile('xorg')
diff --git a/profiles/applications/cockpit.py b/profiles/applications/cockpit.py
index 8a0ede9d..d8aa0fd1 100644
--- a/profiles/applications/cockpit.py
+++ b/profiles/applications/cockpit.py
@@ -2,7 +2,11 @@ import archinstall
# Define the package list in order for lib to source
# which packages will be installed by this profile
-__packages__ = ["cockpit", "udisks2", "packagekit"]
+__packages__ = [
+ "cockpit",
+ "udisks2",
+ "packagekit",
+]
archinstall.storage['installation_session'].add_additional_packages(__packages__)
diff --git a/profiles/awesome.py b/profiles/awesome.py
index aa4702a6..0c1b20ea 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -6,7 +6,12 @@ is_top_level_profile = False
# New way of defining packages for a profile, which is iterable and can be used out side
# of the profile to get a list of "what packages will be installed".
-__packages__ = ['nemo', 'gpicview', 'main', 'alacritty']
+__packages__ = [
+ "nemo",
+ "gpicview",
+ "main",
+ "alacritty",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/budgie.py b/profiles/budgie.py
index abaf87b0..3e4a85df 100644
--- a/profiles/budgie.py
+++ b/profiles/budgie.py
@@ -5,7 +5,12 @@ import archinstall
is_top_level_profile = False
# "It is recommended also to install the gnome group, which contains applications required for the standard GNOME experience." - Arch Wiki
-__packages__ = ["budgie-desktop", "lightdm", "lightdm-gtk-greeter", "gnome"]
+__packages__ = [
+ "budgie-desktop",
+ "gnome",
+ "lightdm",
+ "lightdm-gtk-greeter",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/deepin.py b/profiles/deepin.py
index ebe730e2..5bc18285 100644
--- a/profiles/deepin.py
+++ b/profiles/deepin.py
@@ -4,7 +4,13 @@ import archinstall
is_top_level_profile = False
-__packages__ = ["deepin", "deepin-terminal", "deepin-editor", "lightdm", "lightdm-gtk-greeter"]
+__packages__ = [
+ "deepin",
+ "deepin-terminal",
+ "deepin-editor",
+ "lightdm",
+ "lightdm-gtk-greeter",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 67514a97..30bb9a6a 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -43,9 +43,7 @@ def _prep_function(*args, **kwargs):
'enlightenment',
]
- desktop = archinstall.generic_select(
- supported_desktops, 'Select your desired desktop environment: ', allow_empty_input=False, sort=True
- )
+ desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environment: ', allow_empty_input=False, sort=True)
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded
diff --git a/profiles/enlightenment.py b/profiles/enlightenment.py
index cfb97836..3850fed0 100644
--- a/profiles/enlightenment.py
+++ b/profiles/enlightenment.py
@@ -4,7 +4,12 @@ import archinstall
is_top_level_profile = False
-__packages__ = ["enlightenment", "terminology", "lightdm", "lightdm-gtk-greeter"]
+__packages__ = [
+ "enlightenment",
+ "terminology",
+ "lightdm",
+ "lightdm-gtk-greeter",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/gnome.py b/profiles/gnome.py
index 7bf5b7fd..1b3bf327 100644
--- a/profiles/gnome.py
+++ b/profiles/gnome.py
@@ -5,7 +5,11 @@ import archinstall
is_top_level_profile = False
# Note: GDM should be part of the gnome group, but adding it here for clarity
-__packages__ = ["gnome", "gnome-tweaks", "gdm"]
+__packages__ = [
+ "gnome",
+ "gnome-tweaks",
+ "gdm",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/i3.py b/profiles/i3.py
index 418749c0..b26745a1 100644
--- a/profiles/i3.py
+++ b/profiles/i3.py
@@ -6,7 +6,15 @@ is_top_level_profile = False
# New way of defining packages for a profile, which is iterable and can be used out side
# of the profile to get a list of "what packages will be installed".
-__packages__ = ['i3lock', 'i3status', 'i3blocks', 'xterm', 'lightdm-gtk-greeter', 'lightdm', 'dmenu']
+__packages__ = [
+ 'i3lock',
+ 'i3status',
+ 'i3blocks',
+ 'xterm',
+ 'lightdm-gtk-greeter',
+ 'lightdm',
+ 'dmenu',
+]
def _prep_function(*args, **kwargs):
@@ -18,9 +26,7 @@ def _prep_function(*args, **kwargs):
"""
supported_configurations = ['i3-wm', 'i3-gaps']
- desktop = archinstall.generic_select(
- supported_configurations, 'Select your desired configuration: ', allow_empty_input=False, sort=True
- )
+ desktop = archinstall.generic_select(supported_configurations, 'Select your desired configuration: ', allow_empty_input=False, sort=True)
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded
diff --git a/profiles/kde.py b/profiles/kde.py
index 451704b9..c58f4f45 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -4,7 +4,15 @@ import archinstall
is_top_level_profile = False
-__packages__ = ["plasma-meta", "konsole", "kate", "dolphin", "sddm", "plasma-wayland-session", "egl-wayland"]
+__packages__ = [
+ "plasma-meta",
+ "konsole",
+ "kate",
+ "dolphin",
+ "sddm",
+ "plasma-wayland-session",
+ "egl-wayland",
+]
# TODO: Remove hard dependency of bash (due to .bash_profile)
diff --git a/profiles/mate.py b/profiles/mate.py
index 351f2250..94b91f81 100644
--- a/profiles/mate.py
+++ b/profiles/mate.py
@@ -4,7 +4,12 @@ import archinstall
is_top_level_profile = False
-__packages__ = ["mate", "mate-extra", "lightdm", "lightdm-gtk-greeter"]
+__packages__ = [
+ "mate",
+ "mate-extra",
+ "lightdm",
+ "lightdm-gtk-greeter",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/server.py b/profiles/server.py
index 355be9f5..704c8efe 100644
--- a/profiles/server.py
+++ b/profiles/server.py
@@ -6,7 +6,17 @@ import archinstall
is_top_level_profile = True
-available_servers = ["cockpit", "docker", "httpd", "lighttpd", "mariadb", "nginx", "postgresql", "sshd", "tomcat"]
+available_servers = [
+ "cockpit",
+ "docker",
+ "httpd",
+ "lighttpd",
+ "mariadb",
+ "nginx",
+ "postgresql",
+ "sshd",
+ "tomcat",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/sway.py b/profiles/sway.py
index 686fe868..9afc047d 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -35,9 +35,7 @@ def _prep_function(*args, **kwargs):
# or through conventional import sway
if __name__ == "sway":
if "nvidia" in _gfx_driver_packages:
- choice = input(
- "The proprietary Nvidia driver is not supported by Sway. It is likely that you will run into issues. Continue anyways? [y/N] "
- )
+ 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.")
diff --git a/profiles/xfce4.py b/profiles/xfce4.py
index ad00c461..abbdf64a 100644
--- a/profiles/xfce4.py
+++ b/profiles/xfce4.py
@@ -4,7 +4,12 @@ import archinstall
is_top_level_profile = False
-__packages__ = ["xfce4", "xfce4-goodies", "lightdm", "lightdm-gtk-greeter"]
+__packages__ = [
+ "xfce4",
+ "xfce4-goodies",
+ "lightdm",
+ "lightdm-gtk-greeter",
+]
def _prep_function(*args, **kwargs):
diff --git a/profiles/xorg.py b/profiles/xorg.py
index e18a4f03..b8fb2cbb 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -4,7 +4,14 @@ import archinstall
is_top_level_profile = True
-__packages__ = ['dkms', 'xorg-server', 'xorg-xinit', 'nvidia-dkms', 'xorg-server', *archinstall.lib.hardware.__packages__]
+__packages__ = [
+ 'dkms',
+ 'xorg-server',
+ 'xorg-xinit',
+ 'nvidia-dkms',
+ 'xorg-server',
+ *archinstall.lib.hardware.__packages__,
+]
def _prep_function(*args, **kwargs):