{"id":50864160,"url":"https://github.com/dabealu/zerno","last_synced_at":"2026-06-14T23:34:10.571Z","repository":{"id":355393136,"uuid":"1227906494","full_name":"dabealu/zerno","owner":"dabealu","description":"Tool to install and configure Arch Linux with Sway and Vim","archived":false,"fork":false,"pushed_at":"2026-06-13T08:47:06.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T23:34:10.050Z","etag":null,"topics":["archlinux","automation","sway","tiling-wm","vim"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dabealu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-03T10:25:36.000Z","updated_at":"2026-06-13T08:47:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dabealu/zerno","commit_stats":null,"previous_names":["dabealu/zerno"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dabealu/zerno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabealu%2Fzerno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabealu%2Fzerno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabealu%2Fzerno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabealu%2Fzerno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabealu","download_url":"https://codeload.github.com/dabealu/zerno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabealu%2Fzerno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34342089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","automation","sway","tiling-wm","vim"],"created_at":"2026-06-14T23:34:08.314Z","updated_at":"2026-06-14T23:34:10.526Z","avatar_url":"https://github.com/dabealu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zerno\n\nDesktop as a Code: automated Arch Linux installation with Sway window manager and Neovim.\nBased on: https://github.com/dabealu/arch-sway\n\n## Installation Media\n\nOptions:\n- zerno build-iso             - create iso with zerno bin included\n- zerno boot-dev \u003cdev\u003e \u003ciso\u003e  - format device creating storage and boot partitions\n\n## Quick Start\n\n- Run `sudo zerno install-base` from Arch Linux live environment\n- Reboot into new system\n- Run `sudo zerno install-full`\n\n## Notes and Troubleshooting \n\n### Manual wifi configuration\n```bash\niwctl station wlan0 connect \"SSID\"\n```\n`iwctl station wlan0 get-networks` scans for available networks\n\n### Running on VM\n- select `QXL` video device in QEMU, run sway via `WLR_NO_HARDWARE_CURSORS=1 sway`\n- archiso environment have sshd and root password access enabled - easy to upload binary and start installation using `scp`/`ssh`\n\n### Flashing black screen during installation\nlaptop may enter into loop with flashing black screen after selecting install from boot menu.\nselect `install`, but press `e` instead of `enter` to edit kernel parameters, add `nomodeset` parameter:\n```bash\nlinux /boot/vmlinuz-linux ... nomodeset \ninitrd ...\n```\npress `ctrl+x` to save and load.\n\nref: https://wiki.archlinux.org/title/Kernel_parameters\n\n### Disable mitigations\nthis may increase CPU performance, but **potentially dangerous**.\ndisable hardware vulnerability mitigations by setting `mitigations=off` kernel parameter.\n\n### Pipewire\nhttps://wiki.archlinux.org/title/PipeWire\nset flag to enable WebRTC in chrome: `chrome://flags/#enable-webrtc-pipewire-capturer`\n\n### Bluetooth pairing\n```bash\nbluetoothctl\nagent KeyboardOnly\ndefault-agent\npower on\nscan on\npair 00:12:34:56:78:90\nconnect 00:12:34:56:78:90\n```\nref: https://wiki.archlinux.org/title/bluetooth#Pairing\n\n### Screen resolution\nrun `swaymsg -t get_outputs` to get list of outputs and `man sway-output` for more options.\nuse `wdisplays` for GUI configuration.\n\n### Appearance\nuse `lxappearance` to set GTK theme and appearance settings.\nlxappearance stores config in `~/.gtkrc-2.0`.\nmore themes: https://wiki.archlinux.org/title/GTK#Themes\n\n### Connecting android devices via USB\nbased on: https://wiki.archlinux.org/title/Media_Transfer_Protocol\n\ninstall dependencies:\n`sudo pacman -Sy android-udev android-file-transfer`\nrestart may be needed.\n\nconnect phone, select `File Transfer` (MTP), keep screen unlocked.\nmount phone storage:\n```bash\nmkdir -p ~/mnt\naft-mtp-mount ~/mnt\n```\n\n### Keybindings\nuse `wev` to get key code\n```bash\nyay -Sy wev\n```\n\n### Neovim\nNeovim is installed during Phase 1 (base) and configured during Phase 2 (full).\nConfig is embedded from `assets/nvim/`.\nSee `vim.md` for detailed documentation, plugins, and keybindings.\n\n### Boot: systemd-boot + UKI\nZerno uses systemd-boot with Unified Kernel Images (UKIs). Kernel cmdline is embedded in the UKI via `/etc/kernel/cmdline`. systemd-boot auto-discovers UKIs in `/efi/EFI/Linux/`. A pacman hook preserves the previous kernel as fallback on upgrades. See `AGENTS.md` for full boot architecture.\n\n### Secure Boot\nZerno always creates Secure Boot keys and signs all EFI binaries via `sbctl`. Works with Secure Boot OFF (signatures ignored). To enable Secure Boot:\n```bash\nsudo sbctl enroll-keys -m\n```\nThen enable Secure Boot in your UEFI firmware settings.\n\n### TODO\n- encrypted volume\n- intel integrated graphics: `/etc/modprobe.d/i915.conf`\n  ```\n  options i915 enable_psr=0 enable_guc=0 enable_fbc=0\n  ```\n- consider replacing some apps with TUIs:\n  - transmission -\u003e aria2\n  - thunar       -\u003e yazi\n  - ristretto    -\u003e chafa/uberzug++\n  - pavucontrol  -\u003e wiremix/pulsemixer\n  - evince       -\u003e AUR tdf-git/fancy-cat/just use browser?\n  - vlc          -\u003e try for fun: mpv --vo=kitty --hwdec=auto video.mp4\n  - audacious    -\u003e create tui wrapper around mpv?\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabealu%2Fzerno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabealu%2Fzerno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabealu%2Fzerno/lists"}