Advanced Search
Search Results
60 total results found
crypttab
This configuration allows us to automatically unlock but not mount external drives. For example: /etc/crypttab diskn UUID=<path to disk by /dev/disk/by-uuid> /etc/keyfiles/<keyfile name> luks,nofail This configuration will use the keyfile /etc/...
Intel NIC Configuration
Wireless Configuration # iwlwifi.conf # Enable antenna aggregation options iwlwifi 11n_disable=8
LUKS
https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance
Import a qcow2 file
qm importdisk <vm_id> file.qcow2 <storage-backend>
Rename a node
#!/usr/bin/bash mkdir -p /tmp/qemu ## make temp dir for moving VM config files cp /etc/pve/nodes/$original_hostname/qemu-server/* /tmp/qemu/ hostnamectl set-hostname "$new_hostname" sed -i "s/$original_hostname/$new_hostname/g" /etc/hosts services=(...
PiKVM Tailscale Certificate Update Service
These systemd services allow me to update the Tailscale certificates for PiKVM every 80 days without manual intervention. cert-update.timer [Unit] Description=Update tailscale certificates for nginx [Timer] OnBootSec=1min OnUnitActiveSec=80d AccuracyS...
How to upgrade MariaDB inside Docker
docker compose exec -it db bash -c "mariadb-upgrade -u root -p" Then enter password
Policy - systemd-resolved
Fix Intel Ethernet NIC Hang
Problem If ethernet hangs and you get this journal log: Mar 29 05:14:04 pve-01 kernel: e1000e 0000:00:1f.6 enp0s31f6: Detected Hardware Unit Hang: TDH <3> TDT ...
CUPS
Firewall rules:
Printers
Unable to add AirPrint/mDNS/Bonjour Printer Verify if you are getting the following error in /var/log/cups/error_log E [19/Apr/2025:20:23:27 -0700] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (PRINTER_URL) via ...
When plasma won't start after a kernel upgrade
Most likely it's something wrong with X, I fixed my issues by adding the following to /etc/sddm.conf.d/10-wayland.conf [General] DisplayServer=wayland GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell [Wayland] CompositorCommand=kwin_wayland -...
Sops-Nix Setup
To set up the system to run sops-nix, I usually use the host SSH key like so: nix run 'nixpkgs#ssh-to-age' -- -private-key -i /etc/ssh/ssh_host_ed25519_key Copy the generated private key to /var/lib/sops/age/keys.txt . This is the location set in the sopsF...
Grafana Alloy
How to get WAL stats for alloy: alloy tools prometheus.remote_write wal-stats /var/lib/private/alloy/data-alloy/prometheus.remote_write.default/wal
New Host Checklist
Provisioning Add terraform entry for VM, then run terraform plan, verify, and then terraform apply Follow nixOS provisioning steps NixOS Configuration Create/copy config folder for host with intended name in hosts i.e. hosts/hostname. Copy the defau...
Sops-Nix Env Files
Create the plaintext env file to be used Do not commit any plaintext env files into version control Run the command to encrypt the file: sops --input-type binary --output-type binary -e [file] To edit the file, run the following code: sops --input-type...
Bitwarden Secrets Manager on macOS
Run this command: curl https://bws.bitwarden.com/install > bws.sh Review the downloaded script to make sure that it is safe to use
Quick Git Commands
Remove merged branches git branch --merged origin/main | rg -v "main" | xargs git branch -d Make sure to test the first command before running the whole line, you don't want to accidentally delete your main branch Prune local branches that are deleted on th...
systemd Shell Execution
To start a shell with the same environment as a particular systemd service sudo systemd-run --property=EnvironmentFile=<path/to/env/file> --uid=<service user> --pty bash Be sure to use ^] instead of exiting the shell directly - this command spawns a servic...
User Provisioning
Perform these following steps: pveum useradd etorres@pam pveum group add wheel -comment 'System admins' pveum acl modify / -group wheel -role Administrator pveum acl modify / -group wheel -role PVEAdmin pveum acl modify / -group wheel -role PVEVMAdmin pv...