Files
nixos/henrovnix_ok/no block
T
2026-02-24 09:13:23 +01:00

54 lines
1.6 KiB
Plaintext

README.org
emacs README.org --batch -f org-babel-tangle
emacs --batch -l org -l ox-html README.org -f org-html-export-to-html --kill
emacs README.org --batch -f org-babel-tangle && emacs --batch -l org -l ox-html README.org -f org-html-export-to-html --kill
emacs README.org --batch -f org-babel-tangle
git add .
git commit -m "experiment: local change"
sudo nixos-rebuild test --flake .#your_hostname
emacs README.org --batch -f org-babel-tangle && emacs --batch -l org -l ox-html README.org -f org-html-export-to-html --kill
git add .
git commit -m "literate: structural update"
sudo nixos-rebuild test --flake .#your_hostname
- a NIXOS system installed with a user with sudo rights.
- an internet connection
- the folder henrovnix as you find it here
# 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
find ~/Repos/nixos/henrovnix \
-type d -name ".*" -prune -o \
-type f -print0 \
| xargs -0 sed -i 's/=<defaultUser>=/your_user/g'
find ~/Repos/nixos/henrovnix \
-type d -name ".*" -prune -o \
-type f -print0 \
| xargs -0 sed -i 's/machine1/your_hostname/g'
mv ./machines/machine1 ./machines/your_hostname
nixos-generate-config
sudo nixos-rebuild switch --flake .#your_hostname