Laptop configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
earnest ma 70ab6b2eeb
Update EMPL License to v1.0.1
2 months ago
.git-hooks Lint 8 months ago
.vscode 8 months ago
roles/common bring back cmake 3 months ago
tasks * 8 months ago
vars Default variables 8 months ago
.ansible-lint Finish update playbook 8 months ago
.editorconfig Add .editorconfig file 8 months ago
Fresh_install_apps_config.md plasma widgets list 7 months ago
LICENSE Update EMPL License to v1.0.1 2 months ago
README.md code-server + https tailscale instructions 3 months ago
ansible.cfg Things 9 months ago
ensure.sh Update Ansible config 3 months ago
hosts Things 9 months ago
run.yml * 8 months ago
update.yml Finish update playbook 8 months ago

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;
        }
    }