Commit Graph

287 Commits

Author SHA1 Message Date
Anton Hvornum 240f688cce Adding a Pipewire application profile (#821)
* Adding a Pipewire application profile

This to better manage the pipewire setup process and minimize guided a bit. This also adds the concept of @archinstall.plugin decorators to add a plugin in run-time. Which pipewire uses to detect user creation and enable the pipewire-pulse service for new users.

* Forgot to run .install() on pipewire Application()
* Backwards compatible variable insertion for installation session
2022-01-02 16:38:02 +01:00
Anton Hvornum ec4feade61 Adds amdgpu and radeon to the kernel modules, in the right order. (#823) 2021-12-31 16:05:35 +01:00
Anton Hvornum c3e2b99316 runas -> run_as 2021-12-31 12:50:48 +01:00
Dylan M. Taylor dff2d2bd0e
Remove network-manager-applet from XFCE4 package list
Based on discussion in #777 it seems like this forces NetworkManager which is not desired. We need a way to detect network manager being selected and install this only in that case.
2021-12-12 13:58:08 -05:00
Daniel 908c7b8cc0
Add simple menu for better UX (#660)
* Add simple menu for better UX
* Add remove external dependency
* Fix harddisk return value on skip
* Table output for partitioning process
* Switch partitioning to simple menu
* fixup! Switch partitioning to simple menu
* Ignoring complexity and binary operator issues
Only in simple_menu.py
* Added license text to the MIT licensed file
* Added in versioning information
* Fixed some imports and removed the last generic_select() from user_interaction. Also fixed a revert/merged fork of ask_for_main_filesystem_format()
* Update color scheme to match Arch style better
* Use cyan as default cursor color
* Leave simple menu the same

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-12-02 21:17:51 +01:00
Dylan M. Taylor d46b712f78 Add archive tools to close #654 2021-11-23 15:36:05 -05:00
Atirut Wattanamongkol a387205d6c
Add `gnome-software-packagekit-plugin`
This allows GNOME Software to work out of the box. I don't know why it's not a dependency, but GNOME Software is kinda borked without it.
2021-11-18 21:20:16 +07:00
Anton Hvornum d2a4572e98
Added a log message for when xorg fails a certain step. (#731)
* Added a log message for when xorg fails a certain step.

* Fixed f-string issues.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-11-18 13:34:07 +00:00
Anton Hvornum 72849083e6
Merge pull request #662 from theaeonsolution/master
Remove duplicate package
2021-10-26 16:11:30 +02:00
theaeonsolution fce7accce1
Remove duplicate package 2021-10-12 19:59:31 -05:00
JakobDev 94cf38c171
Remove Konsole from cutefish profile 2021-09-25 11:49:52 +02:00
Falieri a93225d1de
Update xfce4.py
add network support to the xfce panel
2021-09-18 10:36:42 -03:00
Anton Hvornum b4481506ff Added gvfs to fix "trash" in xfce4
https://wiki.archlinux.org/title/Xfce#Trash_icon_not_visible_and_trash_applet_does_not_work
2021-09-17 17:28:46 +02:00
Anton Hvornum ffc43bc041 Adding linux -headers for nvidia-dkms
This should address #585, as I don't see any nvidia-dkms other than when linux-zen and linux-lts is chosen, I chose to put the -headers logic in the same section. If this is needed for vanilla `linux` kernel as well, then move the logic one line up.
2021-09-15 22:17:30 +02:00
Anton Hvornum 000eb14668
Merge pull request #608 from archlinux/deepin-profile
Remove lightdm packages from Deepin profile
2021-09-06 15:43:29 +02:00
Yash Tripathi c461cc49e7
only prompt if _selected_servers is not set 2021-08-20 03:54:23 +05:30
Felix Yan 339e9f8a42
Add back lightdm, be more explicit 2021-08-05 15:23:50 +08:00
Felix Yan a1667a25f1
Remove lightdm packages from Deepin profile
As of deepin-session-shell 5.4.42-2 (which is in the deepin group), lightdm is added as a dependency because of lightdm-deepin-greeter. A configuration (usr/share/lightdm/lightdm.conf.d/60-deepin.conf) in startdde (also in the deepin group) should override default lightdm configuration to use lightdm-deepin-greeter instead of the gtk greeter. Thus these two packages could be removed from the profile now.

This effectively reverts #441
2021-07-24 20:41:35 +08:00
Yash Tripathi a67a2693db fixed profile selection 2021-07-18 22:41:18 +05:30
Yash Tripathi b2476313a7 added new key for desktop-environment 2021-07-18 21:40:44 +05:30
Yash Tripathi d30a22cae3
Setting proper keys in exported config (#557)
* Set the resolved profile path to the actual desktop environment

* split Nvidia driver list into proprietary and open-source

* Updated select_driver to use archinstall.arguments for driver selection

* Adding default value that works with later .get()

* audio will now be prompted irrespective of profile
2021-06-13 14:52:24 +02:00
Dylan M. Taylor 4e17355796
Implement is_desktop_profile helper function (#575)
* Implement is_desktop_profile helper function

* Make ask_for_audio_selection use generic_select

* Fix default value for audio selection

* Leverage list of supported desktops to perform is_desktop_profile check

* is_desktop_profile was missing a default return value

* Store return value for audio server
2021-06-13 14:32:38 +02:00
Anton Hvornum 26c522969f
Linter hates on us if there's no comma at the end 2021-06-09 20:53:23 +02:00
JakobDev 53c2452098
Remove cutefish from desktop.py 2021-06-09 18:04:36 +02:00
JakobDev 3059fa6953
Use group instead of package list 2021-06-07 16:42:38 +02:00
JakobDev 17bf73ee82
Add noto-fonts to package list 2021-06-07 14:42:06 +02:00
JakobDev e26a007ad9
Add Cutefish profile 2021-06-07 14:07:38 +02:00
Dylan M. Taylor 26a33000d8 Add descriptions for top-level profiles 2021-05-27 08:11:27 -04:00
Yash Tripathi 2aed8c6ad5 removed builtins usage and added gfx_package key in config 2021-05-24 22:12:25 +05:30
Yash Tripathi bbb4599165
Added support for getting configuration from a config file (#364)
* added support for ingesting config

* fixed condition to check key in dictionary

* Removed redundant code, profile and desktop keys are now optional

* Added base-config.json and support for pulling credentials from .env

* added base config file and env file for users credentials

* added silent install switch

* added python-dotenv as a dependency

* Updated Readme to include argparse changes as well as config ingestion

* Updated Readme to include argparse changes as well as config ingestion

* fixed typo in pyproject.toml

* Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.

* Fixes string index error.

* Quotation error.

* fixed initializing --script argument

* added python-dotenv as a dependency

* Installation can't be silent if config is not passed

* fixed silent install help

* fixed condition for ask_user_questions

* reverted to creating profile object properly

* Cleaned up and incorporated suggestions

* added Profile import

* added condition if Profile is null

* fixed condition

* updated parsing vars from argparse

* removed loading users from .env

* Reworking SysCommand & Moving to localectl for locale related activities (#4)

* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*.
* Swapped `loadkeys` for localectl.
* Renamed `main` to `maim` in awesome profile.
* Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target.
* Exposing systemd.py's internals to archinstall global scope.
* Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69.
* `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`.
* Adding back peak_output=True to pacstrap.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>

Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>

* fixed indent

* removed redundant import

* removed duplicate import

* removed duplicate import

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-05-19 21:31:58 +02:00
Anton Hvornum 49e6cbdc54
Reworking SysCommand & Moving to localectl for locale related activities
* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*.
* Swapped `loadkeys` for localectl.
* Renamed `main` to `maim` in awesome profile.
* Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target.
* Exposing systemd.py's internals to archinstall global scope.
* Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69.
* `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`.
* Adding back peak_output=True to pacstrap.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>
2021-05-19 16:45:13 +02:00
Dylan Taylor da0da729c5 Proofreading: Fix misc. spelling and grammar issues 2021-05-18 09:36:22 -04:00
Dylan M. Taylor beb709792a
Add pavucontrol to XFCE profile
Adjusting volume doesn't work correctly without this - audio mixer shortcut is broken.
2021-05-16 16:36:23 -04:00
Dylan M. Taylor 3e0fe67ae3
Change LXQt back to SDDM per NullRequest's suggestion
https://github.com/lxqt/lxqt/issues/795
2021-05-15 21:59:17 -04:00
Dylan Taylor 0ac13c0958 Missed a couple of profiles; reformat package lists for these too. 2021-05-15 17:36:38 -04:00
Dylan Taylor 81423330aa Merge branch 'lxqt-lightdm' into formatting2 2021-05-15 17:31:14 -04:00
Dylan Taylor 3ee38afce1 One package per line formatting in profiles - easier to read/maintain 2021-05-15 17:30:20 -04:00
Dylan Taylor c036856a3e Switch LXQt to use LightDM to be consistent with other DEs. 2021-05-15 17:13:19 -04:00
Dylan Taylor 126c7ebfca More formatting fixes to satisfy PEP 8 2021-05-15 15:04:39 -04:00
Dylan Taylor a0cbb31d3e f-string fixes 2021-05-15 14:29:24 -04:00
Dylan Taylor 3b20adb7d2 Whitespace changes 2021-05-15 13:59:37 -04:00
Dylan Taylor e111dd9bc1 Final whitespace changes I think 2021-05-15 13:04:18 -04:00
Dylan Taylor 37e818b3d1 More manual fixes 2021-05-15 12:07:46 -04:00
Dylan Taylor d93ef24e8e A couple more small fixes 2021-05-15 11:53:10 -04:00
Dylan Taylor acb754ff2e Try to remove some unused imports 2021-05-15 11:45:36 -04:00
Dylan Taylor ffd5b5f804 Very selectively fix some PEP 8 issues with profiles 2021-05-15 11:35:18 -04:00
Marcus Pereira 5c6019124a rename package name 2021-05-15 08:29:25 -03:00
Anton Hvornum 631a94c89d
Merge pull request #441 from dylanmtaylor/patch-10
Fix deepin; missing lightdm packages
2021-05-15 09:47:36 +00:00
Anton Hvornum 2ebf92e5fa
Merge branch 'master' into enlightenment 2021-05-15 09:47:05 +00:00
Dylan Taylor c27445d134 Implement enlightenment desktop 2021-05-15 00:06:51 -04:00