27 lines
800 B
Plaintext
27 lines
800 B
Plaintext
find ~/Repos/nixos/henrovnix \
|
|
-type d -name ".*" -prune -o \
|
|
-type f -print0 \
|
|
| xargs -0 sed -i 's/<defaultUser>/youruser/g'
|
|
|
|
find ~/Repos/nixos/henrovnix \
|
|
-type d -name ".*" -prune -o \
|
|
-type f -print0 \
|
|
| xargs -0 sed -i 's/machine1/yourhostname/g'
|
|
|
|
nixos-generate-config
|
|
|
|
# Check if NetworkManager service is running
|
|
systemctl status NetworkManager
|
|
# If not running, start it temporarily
|
|
sudo systemctl start NetworkManager
|
|
# Enable Wi-Fi radio (in case it is disabled)
|
|
nmcli radio wifi on
|
|
# List available Wi-Fi networks
|
|
nmcli device wifi list
|
|
# Connect to a Wi-Fi network (replace SSID and PASSWORD)
|
|
nmcli device wifi connect "SSID_NAME" password "YOUR_PASSWORD"
|
|
# Verify that the connection is active
|
|
nmcli connection show --active
|
|
# Optional: show device status
|
|
nmcli device status
|