feat(shoukei): pin home Wi-Fi to a static IPv4 & adjust networking.nix (#407)

This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-07 21:27:34 +08:00
1 parent e9d706aa96
commit 835b7f6df1
5 files changed
+237 -70

No files matched your search

+6
View File
@@ -157,6 +157,12 @@ niri mode="switch" verbosity="normal":
use {{utils_nu}} *;
nixos-switch $"(hostname)-niri" {{mode}} {{verbosity}}
# Pin shoukei's home Wi-Fi to a static IPv4 (run once; the profile persists).
[linux]
[group('desktop')]
shoukei-home-wifi:
sudo nu {{absolute_path("scripts/shoukei-home-wifi-static.nu")}}
############################################################################
#
# Darwin related commands