https://github.com/zsxoff/pyinfra-archlinux
My Arch Linux desktop setup via pyinfra
https://github.com/zsxoff/pyinfra-archlinux
archlinux pyinfra
Last synced: 2 months ago
JSON representation
My Arch Linux desktop setup via pyinfra
- Host: GitHub
- URL: https://github.com/zsxoff/pyinfra-archlinux
- Owner: zsxoff
- License: mit
- Created: 2024-11-10T13:29:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-13T23:02:48.000Z (2 months ago)
- Last Synced: 2026-05-14T00:47:54.156Z (2 months ago)
- Topics: archlinux, pyinfra
- Language: Python
- Homepage:
- Size: 453 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Arch Linux with pyinfra
## What's inside
| File | Description |
| :--------------------------------------------------------------- | :--------------------------------------------- |
| [./src/deploy.py](./src/deploy.py) | Setup Arch Linux system from zero installation |
| [./src/mime.py](./src/mime.py) | Setup XDG MIME Applications |
| [./src/wayland/base.py](./src/wayland/base.py) | Setup Wayland environment |
| [./src/wayland/desktop_labwc.py](./src/wayland/desktop_labwc.py) | Setup Labwc compositor |
| [./src/wayland/desktop_gnome.py](./src/wayland/desktop_gnome.py) | Setup GNOME desktop |
## How to deploy this
> [!IMPORTANT]
> If you install Wayland, don't forget to run `sudo usermod -aG seat $USER` after installation.
### On local machine
```bash
pyinfra @local ./src/deploy.py
```
### On remote machine
```bash
pyinfra --ssh-user admin --ssh-key ~/.ssh/id_ed25519 192.168.0.100 ./src/deploy.py
```
### On many remote machines
Copy `inventory.py.example` to `inventory.py`, setup your hosts like official [Create a Deploy](https://docs.pyinfra.com/en/3.x/getting-started.html#create-a-deploy) docs and run:
```bash
pyinfra --ssh-user admin --ssh-key ~/.ssh/id_ed25519 inventory.py ./src/deploy.py
```
## License
[](https://opensource.org/licenses/MIT)
This project is licensed under the terms of the [MIT](https://opensource.org/licenses/MIT) license (see [LICENSE](https://github.com/zsxoff/pyinfra-archlinux/blob/main/LICENSE) file).