Commit Graph

269 Commits

Author SHA1 Message Date
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 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
Dylan M. Taylor b07320aec4
Fix deepin; missing lightdm packages 2021-05-15 00:00:23 -04:00
Dylan M. Taylor ea46693608
Add deepin to desktop profile list so it is selectable 2021-05-14 23:04:26 -04:00
Anton Hvornum 22750cefc8 Quotation error. 2021-05-14 16:55:47 +02:00
Anton Hvornum 4ff35663b8 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. 2021-05-12 13:55:41 +02:00
advaithm 69d079e63a
some type hint fixes and a bad catch fix 2021-05-12 15:45:45 +05:30
Ondřej Nekola 3c23f5e810 add dmenu dependency to i3 profile
dmenu is configured as the default launcher (Penguin-SPACE key)
in the default i3 configuartion.
2021-05-06 13:01:43 +02:00
Dylan M. Taylor d27fe9715f Attempt to fix #406
I think this should fix the comment Torxed made
2021-05-01 09:31:18 -04:00
Anton Hvornum 3e518be7ce
Merge pull request #396 from dylanmtaylor/patch-3
Add cockpit application profile
2021-04-29 23:00:33 +00:00
Anton Hvornum 5194fdc75c
Merge pull request #397 from dylanmtaylor/patch-4
Fix i3
2021-04-29 18:41:47 +00:00
Dylan M. Taylor cef3a3a792
Fix i3 2021-04-29 12:11:23 -04:00
Dylan M. Taylor af3d85dc7d
Add cockpit, depends on #396 2021-04-29 11:41:57 -04:00
Dylan M. Taylor 89bc10ad9a
Add cockpit application package 2021-04-29 11:11:26 -04:00
Dylan Taylor 5e567b6f3b Remove a comment 2021-04-29 10:39:01 -04:00
Dylan Taylor 8b6ee6f303 Merge branch 'master' into patch-1 2021-04-29 10:22:42 -04:00
Dylan M. Taylor 3c5dd7b335 First implementation of server top-level profile 2021-04-29 10:22:33 -04:00
Dylan M. Taylor c3bb503fab
Add SSH Server Application Profile 2021-04-29 08:01:15 -04:00
Anton Hvornum fb56fa3c5f
Merge pull request #390 from dylanmtaylor/patch-9
Add lighttpd application profile
2021-04-29 11:35:39 +00:00
Anton Hvornum a94cea235d
Merge pull request #389 from dylanmtaylor/patch-8
Add Docker Application Profile
2021-04-29 11:35:22 +00:00