Laptop configuration
Go to file
earnest ma a40ac99ed0
code-server + https tailscale instructions
2022-07-06 12:30:32 -04:00
.git-hooks Lint 2022-01-26 18:01:41 -05:00
.vscode 2022-01-30 17:55:18 -05:00
roles/common bring back cmake 2022-07-05 22:06:25 -04:00
tasks * 2022-01-28 14:44:31 -05:00
vars Default variables 2022-01-30 19:45:07 -05:00
.ansible-lint Finish update playbook 2022-01-26 22:30:17 -05:00
.editorconfig Add .editorconfig file 2022-01-26 18:01:48 -05:00
Fresh_install_apps_config.md plasma widgets list 2022-03-18 18:57:02 -04:00
LICENSE Add license 2022-01-28 14:44:34 -05:00
README.md code-server + https tailscale instructions 2022-07-06 12:30:32 -04:00
ansible.cfg Things 2022-01-23 21:43:00 -05:00
ensure.sh Update Ansible config 2022-07-04 13:19:45 -04:00
hosts Things 2022-01-23 21:43:00 -05:00
run.yml * 2022-01-28 14:44:31 -05:00
update.yml Finish update playbook 2022-01-26 22:30:17 -05:00

README.md

configs

Configuration through Ansible for my development environment(s). Commonly used on Fedora Linux 35 (Workstation Edition), sometimes using Nix.

Clone & execute the main playbook locally: ansible-playbook run.yml -K

sudo setenforce 0
sudo dnf install -y --refresh ansible
./ensure.sh
  • Run usual updates: ansible-playbook update.yml -K

Contributing

  • Packages: ansible, ansible-lint
  • git config core.hooksPath .git-hooks

TODO(earne): Remove this/ update

After First Run

  • Dotfiles
  • Secrets (GPG, wakatime)
  • Generate SSH key and add to services
  • Tailscale (sudo tailscale up --ssh)
  • Restart!

If code-server:

  • Install https://github.com/coder/code-server/releases/download/v4.5.0/code-server-4.5.0-amd64.rpm
  • Config file: like this
  • usysctl enable --now code-server
  • sudo tailscale cert ...
  • nginx proxy!
  • sudo firewall-cmd --add-port=443/tcp ; sudo firewall-cmd --runtime-to-permanent
    server {
        server_name .ts.net;

        listen 443 ssl;
        listen [::]:443 ssl;
        ssl_certificate /etc/.crt;
        ssl_certificate_key /etc/.key;

        location / {
                proxy_pass http://100.111.117.54:8080/;
                proxy_set_header Host $host;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection upgrade;
                proxy_set_header Accept-Encoding gzip;
        }
    }