Move from awesome to desktop and add wireless config utilities and smartmontools
This commit is contained in:
parent
d988d81690
commit
d8a2437778
|
|
@ -6,7 +6,7 @@ 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__ = ['nano', 'nemo', 'gpicview-gtk3', 'openssh', 'sshfs', 'htop', 'scrot', 'wget']
|
__packages__ = ['nemo', 'gpicview-gtk3', 'scrot']
|
||||||
|
|
||||||
def _prep_function(*args, **kwargs):
|
def _prep_function(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
@ -33,13 +33,7 @@ if __name__ == 'awesome':
|
||||||
awesome = archinstall.Application(installation, 'awesome')
|
awesome = archinstall.Application(installation, 'awesome')
|
||||||
awesome.install()
|
awesome.install()
|
||||||
|
|
||||||
# Then setup and configure the desktop environment: awesome
|
installation.add_additional_packages(__packages__)
|
||||||
editor = "nano"
|
|
||||||
filebrowser = "nemo gpicview-gtk3"
|
|
||||||
utils = "openssh sshfs htop scrot wget"
|
|
||||||
|
|
||||||
|
|
||||||
installation.add_additional_packages(f"{utils} {filebrowser} {editor}")
|
|
||||||
|
|
||||||
alacritty = archinstall.Application(installation, 'alacritty')
|
alacritty = archinstall.Application(installation, 'alacritty')
|
||||||
alacritty.install()
|
alacritty.install()
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@ import archinstall, os
|
||||||
|
|
||||||
is_top_level_profile = True
|
is_top_level_profile = True
|
||||||
|
|
||||||
|
# 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__ = ['nano', 'openssh', 'htop', 'wget', 'iwd', 'wireless_tools', 'wpa_supplicant', 'smartmontools']
|
||||||
|
|
||||||
def _prep_function(*args, **kwargs):
|
def _prep_function(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Magic function called by the importing installer
|
Magic function called by the importing installer
|
||||||
|
|
@ -42,6 +46,10 @@ if __name__ == 'desktop':
|
||||||
this is therefore just a helper to get started
|
this is therefore just a helper to get started
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Install common packages for all desktop environments
|
||||||
|
installation.add_additional_packages(__packages__)
|
||||||
|
|
||||||
# TODO: Remove magic variable 'installation' and place it
|
# TODO: Remove magic variable 'installation' and place it
|
||||||
# in archinstall.storage or archinstall.session/archinstall.installation
|
# in archinstall.storage or archinstall.session/archinstall.installation
|
||||||
installation.install_profile(archinstall.storage['_desktop_profile'])
|
installation.install_profile(archinstall.storage['_desktop_profile'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue