-
-
Notifications
You must be signed in to change notification settings - Fork 8
Network Manager
This section provides guidance for managing and configuring your network setup using NetworkManager, with custom dotfiles support.
Tip
Like everything else in this setup, the Network Manager integration is fully customizable. You can configure connections, UI tools, and even define shortcuts or scripts โ all managed through your dotfiles and chezmoi.
Depending on your preference, you can use either graphical or terminal-based tools for managing networks:
nmtuiUse this for:
- Activating or deactivating connections
- Connecting to Wi-Fi
- Setting static IP addresses
nmcli device wifi list
nmcli device wifi connect <SSID> password <password>Use this for scripting, automating, or managing networks programmatically.
The Quickshell system tray (bar status icons) exposes the network applet to manage Wi-Fi and VPNs.
Install:
sudo pacman -S network-manager-applet # Arch-basedWhile network configurations aren't typically stored directly in the dotfiles, you can:
- Create helper scripts to automate Wi-Fi/VPN switching
- Manage your tray applet visibility and behavior
- Bind hotkeys for toggling Wi-Fi, VPN, or Airplane Mode
You can version any helper script or autostart command using chezmoi:
chezmoi edit ~/.config/autostart/network-helper.shHereโs an example nmcli script that you can store in ~/.local/bin/connect-home-wifi.sh:
#!/bin/bash
nmcli device wifi connect "HomeWiFi" password "yourpassword"Make it executable:
chmod +x ~/.local/bin/connect-home-wifi.shAdd it to your chezmoi config or call it from a keybinding.
Useful nmcli commands:
nmcli general status
nmcli device
nmcli connection show
journalctl -u NetworkManager.servicePersonal machines (hornero and colibri) can reach each other over the local
network with SSH, reusing the same personal key (~/.ssh/personal_rsa) that
is already deployed by chezmoi on both of them.
| Piece | Managed by | Purpose |
|---|---|---|
~/.ssh/authorized_keys |
private_dot_ssh/private_authorized_keys.tmpl |
Accepts inbound logins from the other machine |
/etc/ssh/sshd_config.d/10-hornero-config.conf |
run_onchange_before_install-ssh-server.sh.tmpl |
Enables and hardens sshd (key-only auth, no root login) |
| Avahi + nss-mdns | run_onchange_before_install-mdns.sh.tmpl |
Resolves <hostname>.local even when DHCP addresses change |
~/.ssh/config aliases |
private_dot_ssh/executable_config |
ssh hornero / ssh colibri just work |
Host keys are intentionally not managed by the dotfiles, so accept the remote fingerprint the first time you connect (TOFU โ trust on first use):
ssh hornero # from colibri
ssh colibri # from horneroIf mDNS is blocked by your router or access point, pin the current IP directly
in ~/.ssh/config under the corresponding Host block as a fallback.
Take control of your network configuration with tools that match your workflow โ whether it's terminal, GUI, or automation! ๐ก
- ๐ Quickshell Shell โญ
- โ Quickshell Parity Checklist
- ๐ Thunar File Manager
- ๐ Yazi File Manager
- ๐ CopyQ Clipboard Manager
- ๐ Dots Scripts Guide โญ Complete Documentation
- ๐พ Backup System
- ๐ Eject System
Quickshell-first flows:
- ๐ App Launcher - quickshell โ minimal
- ๐ Clipboard - cliphist/copyq โ minimal
- โก Power Menu - quickshell
- โ๏ธ Settings Hub - unified GUI settings
Media & Screen:
- ๐ธ Screenshots - sss
- ๐ Screen Lock - hyprlock
- ๐ Brightness - brightnessctl
System:
- โก Performance - powerprofilesctl
- โจ๏ธ Keyboard Layout - 13 layouts
- ๐ Battery Monitor - poweralertd
- ๐ File Manager - thunar โ nautilus
- ๐ Yazi - terminal file manager
- ๐ก๏ธ Security
- ๐ฅ๏ธ Hardware
- ๐ฎ NVIDIA Troubleshooting
- โก Hybrid GPU Performance
- ๐ถ Network Manager
Essential:
- ๐ Home - Start here
- ๐ Dots Scripts โญ - All tools & fallbacks
- ๐จ Appearance Themes - Theme switching
- ๐ผ๏ธ Theme Gallery
- โ๏ธ Nix / Home-Manager - Visual theme browser
- ๐ง Smart Colors - Adaptive theming
Recent Updates:
- โญ Dots Scripts - Quickshell-first command reference
- ๐ Hybrid GPU - NVIDIA/Intel power management
- ๐ Changelog 2025 - Latest changes