One package per line formatting in profiles - easier to read/maintain
This commit is contained in:
parent
0e5b0edd6c
commit
3ee38afce1
|
|
@ -1,6 +1,16 @@
|
||||||
import archinstall
|
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')
|
archinstall.storage['installation_session'].install_profile('xorg')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
# 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".
|
# 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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,12 @@ import archinstall
|
||||||
is_top_level_profile = False
|
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
|
# "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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,13 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = False
|
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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,12 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = False
|
is_top_level_profile = False
|
||||||
|
|
||||||
__packages__ = ["enlightenment", "terminology", "lightdm", "lightdm-gtk-greeter"]
|
__packages__ = [
|
||||||
|
"enlightenment",
|
||||||
|
"terminology",
|
||||||
|
"lightdm",
|
||||||
|
"lightdm-gtk-greeter",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def _prep_function(*args, **kwargs):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,11 @@ import archinstall
|
||||||
is_top_level_profile = False
|
is_top_level_profile = False
|
||||||
|
|
||||||
# Note: GDM should be part of the gnome group, but adding it here for clarity
|
# 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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -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
|
# 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".
|
# 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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,15 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = False
|
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)
|
# TODO: Remove hard dependency of bash (due to .bash_profile)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,16 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = False
|
is_top_level_profile = False
|
||||||
|
|
||||||
__packages__ = ["lxqt", "breeze-icons", "oxygen-icons", "xdg-utils", "ttf-freefont", "leafpad", "slock", "sddm"]
|
__packages__ = [
|
||||||
|
"lxqt",
|
||||||
|
"breeze-icons",
|
||||||
|
"oxygen-icons",
|
||||||
|
"xdg-utils",
|
||||||
|
"ttf-freefont",
|
||||||
|
"leafpad",
|
||||||
|
"slock",
|
||||||
|
"sddm",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def _prep_function(*args, **kwargs):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,17 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = True
|
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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,14 @@ import archinstall
|
||||||
|
|
||||||
is_top_level_profile = True
|
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):
|
def _prep_function(*args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue