1
0
Fork 0

python rewrite initial commit

This commit is contained in:
Kim, Jimin 2022-01-27 11:01:01 +09:00
parent f104fc909d
commit e2b3d331a9
5 changed files with 22 additions and 1021 deletions

3
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"recommendations": ["ms-python.python"]
}

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"cSpell.words": ["developomp", "pamac"]
}

View file

@ -2,8 +2,6 @@
My <a href="https://archlinux.org">Arch Linux</a> desktop setup My <a href="https://archlinux.org">Arch Linux</a> desktop setup
</h1> </h1>
[![LICENSE: MIT](https://img.shields.io/badge/License-MIT-blue?style=for-the-badge)](./LICENSE)
## Purpose ## Purpose
This repo is here to provide myself materials (script, guide, config files, and other files) for cases when I need to transfer to other machine or reinstall the OS. This repo is here to provide myself materials (script, guide, config files, and other files) for cases when I need to transfer to other machine or reinstall the OS.
@ -33,31 +31,31 @@ This repo is here to provide myself materials (script, guide, config files, and
</details> </details>
## Instructions ## Usage
> **WARNING:** ### WARNING
>
> - This script is written for my laptop ONLY.
> - The script assumes a clean installation (no unnecessary packages installed already).
1. Install arch linux via [archfi](https://github.com/MatMoul/archfi). - This script is written to work in my hardware **EXCLUSIVELY**.
- The script assumes a clean installation of arch linux. That is, no extra packages installed already.
- latest arch linux version as of writing: `2021.10.01` ### Instructions
2. Create user `pomp` 1. Install arch linux via [archfi](https://github.com/MatMoul/archfi) (included installer via [archinstall](https://github.com/archlinux/archinstall) coming soon).
2. download the setup script
```bash ```bash
useradd -m pomp # create user and home directory curl -LO setup.developomp.com
EDITOR=vim visudo # edit sudoers file with vim
# enable wheel group
usermod -aG wheel pomp # give pomp sudo access
``` ```
3. Execute the [`setup.sh`](./setup.sh) script. 3. Execute it.
4. Profit.
Full setup could easily take more than a hour depending on the internet speed. Full setup could easily take more than a hour depending on the internet speed.
## How does it work?
[Github pages](https://pages.github.com) allows the developers to deploy a static website using a branch of their repositories to store the static files. I set up github action so that the [`setup.py`](./setup.py) script gets copied to the `index.html` file in the [`gh-pages`](https://github.com/developomp/setup/tree/gh-pages) branch where it is deployed to https://setup.developomp.com. The script then downloads necessary files and packages when necessary.
## Hardware ## Hardware
| name | model | | name | model |
@ -143,7 +141,4 @@ commit: aecec82
## Future ## Future
- 1TB HDD for long-term backup - 1TB HDD for long-term backup
- [Framework laptop](https://frame.work) - [wannabuy](https://developomp.com/wannabuy)
- AMD eGPU
- Waiting for: 120+Hz display
- Waiting for: Korean keyboard

1
setup.py Normal file
View file

@ -0,0 +1 @@
#!/usr/bin/env python3

1001
setup.sh

File diff suppressed because it is too large Load diff