<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Macos on Pink Noise</title><link>https://rustikus.codeberg.page/tags/macos/</link><description>Recent content in Macos on Pink Noise</description><generator>Hugo -- 0.163.3</generator><language>en-us</language><lastBuildDate>Wed, 01 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://rustikus.codeberg.page/tags/macos/index.xml" rel="self" type="application/rss+xml"/><item><title>Quicktip: USGerman Keyboard Layout on macOS</title><link>https://rustikus.codeberg.page/tech/usgerman-keyboard-layout-macos/</link><pubDate>Wed, 01 Jul 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/usgerman-keyboard-layout-macos/</guid><description>&lt;p&gt;If you use a Mac with a US keyboard but still write German regularly, the &lt;a href="https://hci.rwth-aachen.de/usgermankeyboard"&gt;USGerman keyboard layout&lt;/a&gt; is a small quality-of-life fix. It keeps the normal US layout and adds German umlauts and &lt;code&gt;ß&lt;/code&gt; behind the Option key, so you do not have to switch to a full German keyboard layout or use macOS&amp;rsquo; long-press character picker.&lt;/p&gt;
&lt;p&gt;After downloading and unzipping the layout, copy &lt;code&gt;Roman.bundle&lt;/code&gt; into the system keyboard layouts folder:&lt;/p&gt;</description></item><item><title>Tailscale Setup Guide: Self-Hosted and UniFi Integration</title><link>https://rustikus.codeberg.page/tech/tailscale-setup-guide/</link><pubDate>Sat, 24 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/tailscale-setup-guide/</guid><description>&lt;p&gt;Tailscale is a modern VPN built on WireGuard with automatic mesh networking. For complete self-hosting, use Headscale—an open-source Tailscale control server implementation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UniFi Devices&lt;/strong&gt;: If you run UniFi hardware (Dream Machine, Dream Router, etc.), install Tailscale directly on your gateway:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;span class="lnt"&gt;2
&lt;/span&gt;&lt;span class="lnt"&gt;3
&lt;/span&gt;&lt;span class="lnt"&gt;4
&lt;/span&gt;&lt;span class="lnt"&gt;5
&lt;/span&gt;&lt;span class="lnt"&gt;6
&lt;/span&gt;&lt;span class="lnt"&gt;7
&lt;/span&gt;&lt;span class="lnt"&gt;8
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Install the latest version of Tailscale on UniFi OS 2.x+&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -sSLq https://raw.github.com/SierraSoftworks/tailscale-udm/main/install.sh &lt;span class="p"&gt;|&lt;/span&gt; sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Start Tailscale&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tailscale up
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Advertise routes to your local network&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tailscale up --advertise-routes&lt;span class="o"&gt;=&lt;/span&gt;10.0.0.0/24 --advertise-exit-node
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The installation automatically restarts after UniFi updates, runs via systemd on UniFi OS 2.x+, and supports Tailscale SSH. It works on UniFi Dream Machine, Dream Router, Cloud Key Gen 2, and similar devices.&lt;/p&gt;</description></item><item><title>AeroSpace: Fixing Homebrew PATH for GUI Apps on macOS</title><link>https://rustikus.codeberg.page/tech/aerospace-homebrew-path-macos/</link><pubDate>Sun, 18 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/aerospace-homebrew-path-macos/</guid><description>&lt;p&gt;When using &lt;a href="https://github.com/nikitabobko/AeroSpace"&gt;AeroSpace&lt;/a&gt; (a tiling window manager for macOS), GUI applications don&amp;rsquo;t have Homebrew&amp;rsquo;s prefix in their &lt;code&gt;PATH&lt;/code&gt; by default. This means Homebrew binaries like &lt;code&gt;sketchybar&lt;/code&gt; or &lt;code&gt;yabai&lt;/code&gt; won&amp;rsquo;t be found unless you specify the full path.&lt;/p&gt;
&lt;p&gt;AeroSpace handles this automatically with a sensible default configuration. If you don&amp;rsquo;t override the &lt;code&gt;[exec]&lt;/code&gt; section, it uses:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;span class="lnt"&gt;2
&lt;/span&gt;&lt;span class="lnt"&gt;3
&lt;/span&gt;&lt;span class="lnt"&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-toml" data-lang="toml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;exec&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nx"&gt;inherit-env-vars&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;exec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env-vars&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nx"&gt;PATH&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;/opt/homebrew/bin:/opt/homebrew/sbin:${PATH}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;If you need custom environment variables, preserve the Homebrew PATH when overriding the &lt;code&gt;[exec]&lt;/code&gt; section:&lt;/p&gt;</description></item><item><title>Nix Setup on macOS: An Overview</title><link>https://rustikus.codeberg.page/tech/nix-setup-on-macos-overview/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/nix-setup-on-macos-overview/</guid><description>&lt;p&gt;A collection of resources for setting up Nix on macOS with nix-darwin and home-manager.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;&lt;a href="https://github.com/ryan4yin/nix-darwin-kickstarter"&gt;nix-darwin-kickstarter&lt;/a&gt;&lt;/strong&gt; repository is a good starting point for macOS.&lt;/p&gt;
&lt;p&gt;Run programs without installing them with &lt;code&gt;nix-shell -p cowsay&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Remote Deployment&lt;/strong&gt;: &lt;a href="https://www.haskellforall.com/2023/01/announcing-nixos-rebuild-new-deployment.html"&gt;nixos-rebuild announcement&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example configurations&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/jdheyburn/nixos-configs/tree/main"&gt;jdheyburn/nixos-configs&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
Great examples for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Caddy web server&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;FreshRSS&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;deploy-rs&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tailscale integration&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/wimpysworld/nix-config"&gt;wimpysworld/nix-config&lt;/a&gt;&lt;/strong&gt; - Production-ready configuration&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Remote installation with nixos-anywhere&lt;/strong&gt;: &lt;a href="https://github.com/nix-community/nixos-anywhere"&gt;nixos-anywhere&lt;/a&gt; uses kexec. If kexec doesn&amp;rsquo;t work, &lt;a href="https://github.com/nix-community/nixos-anywhere/blob/main/docs/howtos/no-os.md"&gt;boot with NixOS ISO instead&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wireless in initrd&lt;/strong&gt;: &lt;a href="https://discourse.nixos.org/t/wireless-connection-within-initrd/38317/12"&gt;Unlocking encrypted drives over WiFi&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Running Kanata on macOS with LaunchDaemon</title><link>https://rustikus.codeberg.page/tech/running-kanata-on-macos-with-launchdaemon/</link><pubDate>Mon, 12 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/running-kanata-on-macos-with-launchdaemon/</guid><description>&lt;p&gt;Kanata provides more readable keyboard remapping configurations than Karabiner-Elements. To run it automatically on macOS startup, set it up as a LaunchDaemon.&lt;/p&gt;
&lt;p&gt;Install Kanata via Homebrew:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;brew install kanata
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Download and install the &lt;a href="https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/releases"&gt;Karabiner VirtualHIDDevice driver&lt;/a&gt;. Kanata needs this to interact with macOS.&lt;/p&gt;
&lt;p&gt;Create your Kanata configuration at &lt;code&gt;~/.config/kanata/config.kbd&lt;/code&gt;. See the &lt;a href="https://github.com/jtroo/kanata"&gt;documentation&lt;/a&gt; for examples. Add a key combo to reload your configuration (command: &lt;code&gt;lrld&lt;/code&gt;) to avoid manually restarting.&lt;/p&gt;
&lt;p&gt;Create two &lt;code&gt;.plist&lt;/code&gt; files in &lt;code&gt;/Library/LaunchDaemons/&lt;/code&gt; to launch Kanata at startup.&lt;/p&gt;</description></item><item><title>Incorporating EDID into initrd Image on Linux</title><link>https://rustikus.codeberg.page/tech/incorporating-edid-into-initrd-linux/</link><pubDate>Fri, 09 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/incorporating-edid-into-initrd-linux/</guid><description>&lt;p&gt;Some monitors don&amp;rsquo;t properly report their capabilities (EDID - Extended Display Identification Data) to Linux systems during early boot, causing incorrect resolutions or no video output. You can fix this by incorporating custom EDID data into the initrd image.&lt;/p&gt;
&lt;p&gt;First, extract the EDID from a working system. Install the required tools:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt install read-edid edid-decode
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Extract and verify the EDID:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;span class="lnt"&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo get-edid &amp;gt; desktop_edid.bin
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;edid-decode desktop_edid.bin
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Transfer the file to your target system and copy it to the firmware directory:&lt;/p&gt;</description></item><item><title>Configuring markdownlint-cli2 in LazyVim</title><link>https://rustikus.codeberg.page/tech/configuring-markdownlint-in-lazyvim/</link><pubDate>Wed, 07 Jan 2026 00:00:00 +0000</pubDate><guid>https://rustikus.codeberg.page/tech/configuring-markdownlint-in-lazyvim/</guid><description>&lt;p&gt;Using shell variables like &lt;code&gt;$HOME&lt;/code&gt; in LazyVim&amp;rsquo;s nvim-lint configuration doesn&amp;rsquo;t work as expected—the string gets passed literally instead of being expanded. To use a custom markdownlint-cli2 config file with a machine-agnostic path, use Lua&amp;rsquo;s &lt;code&gt;os.getenv()&lt;/code&gt; function:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1
&lt;/span&gt;&lt;span class="lnt"&gt; 2
&lt;/span&gt;&lt;span class="lnt"&gt; 3
&lt;/span&gt;&lt;span class="lnt"&gt; 4
&lt;/span&gt;&lt;span class="lnt"&gt; 5
&lt;/span&gt;&lt;span class="lnt"&gt; 6
&lt;/span&gt;&lt;span class="lnt"&gt; 7
&lt;/span&gt;&lt;span class="lnt"&gt; 8
&lt;/span&gt;&lt;span class="lnt"&gt; 9
&lt;/span&gt;&lt;span class="lnt"&gt;10
&lt;/span&gt;&lt;span class="lnt"&gt;11
&lt;/span&gt;&lt;span class="lnt"&gt;12
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;local&lt;/span&gt; &lt;span class="n"&gt;HOME&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os.getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;HOME&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;mfussenegger/nvim-lint&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;optional&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;opts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;linters&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;markdownlint-cli2&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;args&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;--config&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;HOME&lt;/span&gt; &lt;span class="o"&gt;..&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;/.markdownlint-cli2.yaml&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;--&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Create your &lt;code&gt;~/.markdownlint-cli2.yaml&lt;/code&gt; configuration file with your preferred rules:&lt;/p&gt;</description></item></channel></rss>