add java ls
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
# Fedora Sway workstation
|
||||
|
||||
An Ansible playbook for rebuilding the two NixOS workstation hosts as a native
|
||||
Fedora Sway desktop. The NixOS server host (`sta-len-nix`) and its services,
|
||||
WireGuard, firewall, and Netdata configuration are intentionally excluded.
|
||||
|
||||
## Target
|
||||
|
||||
- Native Fedora 44 on x86_64
|
||||
@@ -21,30 +17,9 @@ Install Ansible as the normal desktop user:
|
||||
sudo dnf install -y ansible
|
||||
git clone https://codeberg.org/bartal-lsn/fedora-provisioning.git
|
||||
cd fedora-provisioning
|
||||
ansible-playbook setup.yml --ask-become-pass
|
||||
ansible-playbook setup.yml -K
|
||||
```
|
||||
|
||||
Do not start the playbook with `sudo`. It uses privilege escalation only for
|
||||
system tasks and installs Zen and user configuration into the invoking user's
|
||||
home directory. Log out or reboot after the first run to enter Sway through
|
||||
SDDM and pick up the new group memberships and environment.
|
||||
|
||||
## Configuration ownership
|
||||
|
||||
The Home Manager configuration lives in the public
|
||||
`https://codeberg.org/bartal-lsn/dotfiles` repository as GNU Stow packages.
|
||||
During provisioning, Ansible clones or updates that repository at
|
||||
`~/dotfiles`, then runs `stow -R *` from that directory. Stow therefore
|
||||
restows every package into the user's home directory.
|
||||
|
||||
Commit dotfile changes to the Codeberg repository, then rerun the playbook to
|
||||
pull `~/dotfiles` and refresh its links. Editor-managed binaries such as `zls`,
|
||||
`omnisharp`, `jdtls`, and `lua-language-server` remain Neovim concerns because
|
||||
Fedora does not package them consistently. Ansible installs Fedora's `clangd`
|
||||
and `gopls`, Pyright, TypeScript language server, Black, isort, Prettier, and
|
||||
StyLua. Rust and `rust-analyzer` are installed through the official rustup
|
||||
installer.
|
||||
|
||||
## Desktop keys
|
||||
|
||||
| Key | Action |
|
||||
@@ -69,17 +44,6 @@ The main switches live near the top of `vars.yml`:
|
||||
- `upgrade_system`: upgrade packages before provisioning
|
||||
- `install_virtualization`: install Fedora's libvirt virtualization group
|
||||
- `install_sqlcmd`: retain the Fedora repository's existing SQL Server CLI
|
||||
- `install_typora`: install the unverified Flathub Typora wrapper
|
||||
|
||||
The playbook installs OpenJDK 25 because Fedora 44 does not publish the
|
||||
OpenJDK 21 RPM used by the NixOS setup.
|
||||
|
||||
Fedora does not have a direct equivalent for NixOS's
|
||||
`virtualisation.vmware.host.enable`; this playbook uses Fedora's supported
|
||||
libvirt stack instead. Typora is optional because its Flathub wrapper is not
|
||||
verified by Typora. Zen never uses Flatpak: Ansible downloads the official
|
||||
release archive directly, places it under `~/.tarball-installations/zen`, and
|
||||
creates the `~/.local/bin/zen` launcher.
|
||||
|
||||
## Re-running
|
||||
|
||||
|
||||
Reference in New Issue
Block a user