146 Commits

Author SHA1 Message Date
Philip Mueller
ba18f68f8f [doc] update readme 2023-06-22 22:43:55 +02:00
Philip Mueller
0bd7be2304 [presets] fix some files 2023-06-22 22:38:45 +02:00
Philip Müller
19d26cf0bf [presets] fix user toml 2023-06-22 22:35:48 +02:00
Roey Darwish Dror
20a80c73e2 Update README.md 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
3f89061369 Add a command line flag to specify the boot partition size (fix #79) 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
60438bac5c Be more informative about missing binaries 2023-06-22 22:35:17 +02:00
EdJoPaTo
21e11151c8 feat: support paru as AurHelper (#75) 2023-06-22 22:35:17 +02:00
EdJoPaTo
dc127ed87a Fix Clippy lints & GitHub Action improvements (#74)
* ci: improve

- run on all branches to test things
- no cargo color, it destroys actions-rs/cargo features
- update versions

* refactor(lint): fix clippy issues

* refactor(lint): fix more clippy issues
2023-06-22 22:35:17 +02:00
Hans Gaiser
a6984b0b84 Add pacman_conf argument for alma create. (#68) 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
0680de7c42 Add a note about Arch Linux derivatives 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
86a7b8f43f Update issue templates 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
67f7266ef9 Migrate to Github actions (fix #56) (#66) 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
f594fc2ffc Enable secure boot (fix #44) (#65) 2023-06-22 22:35:17 +02:00
Roey Darwish Dror
38d0085ba1 AUR fixes
The commit switches to using yay-bin instead of yay, avoiding the need to install Go.
In addition, it fixes a bug where aur packages
aren't build when specified only in the command line
2023-06-22 22:35:17 +02:00
Laurențiu Nicola
fdbe285855 Bump deps (#63) 2023-06-22 22:35:17 +02:00
Laurențiu Nicola
b4ecfd3c2a Allow sudo for wheel, otherwise you're locked out (#62) 2023-06-22 22:35:10 +02:00
James McMurray
7bba0c8c5a Move locale generation before user scripts (#59)
So user scripts can change locale if they wish
2023-06-22 22:33:26 +02:00
James McMurray
38e2cfbf5b Cache go when installing yay (#57)
Added common issues to README.md
2023-06-22 22:33:26 +02:00
Philip Mueller
f8bb291db4 [presets] add kate for kde 2023-06-22 22:26:01 +02:00
Philip Mueller
3bc7d478ec [presets] fix steam script 2023-06-22 22:08:41 +02:00
Philip Mueller
ef3d5ef01b [presets] fix steam script 2023-06-22 22:02:46 +02:00
Philip Mueller
433b3300dc [presets] update kde 2023-06-22 21:51:52 +02:00
Philip Mueller
841704b39c [presets] add steam 2023-06-22 21:51:09 +02:00
Philip Mueller
0405b4022d [presets] fix base.toml 2023-06-22 21:04:11 +02:00
Philip Mueller
7922e34634 [presets] add kde 2023-06-22 20:47:36 +02:00
Philip Mueller
2580f02a6a [PKGBUILD] add 2023-06-22 09:42:47 +02:00
Philip Mueller
98a475feb9 [src] fix BASE_PACKAGES 2023-06-22 09:38:37 +02:00
Philip Mueller
153c408c87 [presets] try to make base adjustable 2023-06-22 09:24:36 +02:00
Philip Müller
493caad5b5
Update constants.rs
- use Linux61
2023-06-21 20:11:20 +02:00
Philip Müller
ac97608fe7
Update constants.rs
- use Linux515 LTS
2022-04-19 13:56:17 +02:00
Philip Müller
5610aa0335 [presets] remove vesa as it creates issues 2020-07-07 12:34:11 +02:00
Philip Müller
315f2c5a62 [presets] update xfce 2020-07-07 08:54:37 +02:00
Philip Müller
b42f2f41b2 [presets] add xfce-manjaro 2020-07-04 09:38:28 +02:00
Philip Müller
eec0bf1628 [presets] remove unneeded examples 2020-07-03 18:30:19 +02:00
Philip Müller
4df5629d43 [presets] add XFCE 2020-07-03 18:27:56 +02:00
Philip Müller
5b2e5d75ec
Update constants.rs
- use correct extramodule for LTS kernel
2020-07-02 13:47:21 +02:00
Philip Müller
922f9cccfe
Update main.rs
- use mkinitcpio -P to have options to use more than one kernel.
2020-07-02 13:40:30 +02:00
Philip Müller
b2dc7e628a
Update constants.rs
- use latest LTS kernel
2020-07-02 13:38:52 +02:00
James McMurray
3ca2e01f1f
Bump which to version 4 removing failure dependency (#55)
We are now completely free of failure dependencies!
2020-06-18 08:56:37 +03:00
Roey Darwish Dror
460752adfa Large boot partition (fix #50) 2020-06-18 05:48:31 +00:00
Roey Darwish Dror
b92219af41 Clear the root password 2020-06-18 05:47:01 +00:00
Roey Darwish Dror
b3449b6b3d Make clippy happy 2020-06-17 19:39:58 +00:00
James McMurray
c04b5f5559
Add amd-ucode to default packages (#52) 2020-05-31 08:39:13 +03:00
James McMurray
7152901820
Migrate ALMA to anyhow (#54) 2020-05-31 08:38:20 +03:00
James McMurray
c8b151fe5f
Add support for installing AUR packages (#48) 2020-05-10 19:31:40 +03:00
James McMurray
bc9969a0db
Add shared_directories preset parameter (#35) 2020-03-26 20:57:46 +02:00
James McMurray
14347710ce
Add linux package to defaults (#36)
Should fix mkinitcpio issues due to missing "linux" preset now it's no
longer included in "base".

Note this issue only affected newer Arch Linux installs (since the
change).
2020-03-21 20:38:25 +02:00
James McMurray
1f5b28c065
Recursively import presets from provided directory (#33)
Allow a directory to be passed as a preset, in which case all files
inside the directory (recursively) are treated as presets, loaded in
lexicographical order.

This allows one to compose a system by mixing in different presets, and
easily change their order of execution.
2020-03-21 07:16:15 +02:00
Roey Darwish Dror
6624f05d1e
Merge pull request #29 from jamesmcm/refactor 2020-03-14 20:54:37 +02:00
James McMurray
490ab30f4c Refactor main.rs and fix clippy lints
Status: WIP

Completed:
* Fixed flagged clippy lints
* Moved qemu(), main.rs::mount() and chroot() to the tools module.
* Moved constants in main.rs to constants.rs (including base packages
  array)
* Renamed Presets struct to PresetsCollection to avoid confusion with
  Preset struct
* Moved main() to the top of main.rs to highlight general logic path
* Added comments and docstrings to some functions
* Removed some uses of `use foo::*` to make the source of imported functions
  and structs clearer

TODO:
* Move remaining code in main.rs to modules (except main())
* Break up create() function in to separate steps
* Log every command run (with arguments) to debug! when verbose flag is used
* Add docstrings for remaining functions and document constants (e.g.
  why noatime is used)
* Remove remaining uses of `use foo::*`
* Consider renaming/moving tools module to address tool:: vs. Tool::
  confusion
2020-03-06 23:11:56 +01:00