Totally new ai.nix, integrating MIstral with ZED

This commit is contained in:
2026-02-28 10:29:56 +01:00
parent 33618c1b07
commit 6dbfc8be6c
44 changed files with 2855 additions and 444 deletions
+9 -9
View File
@@ -10,16 +10,16 @@ emacs README.org --batch -f org-babel-tangle
git add .
git commit -m "experiment: local change"
sudo nixos-rebuild test --flake .#your_hostname
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
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
- the folder henrovnix_ok as you find it here
# Check if NetworkManager service is running
systemctl status NetworkManager
@@ -36,18 +36,18 @@ nmcli connection show --active
# Optional: show device status
nmcli device status
find ~/Repos/nixos/henrovnix \
find ~/Repos/nixos/henrovnix_ok \
-type d -name ".*" -prune -o \
-type f -print0 \
| xargs -0 sed -i 's/=<defaultUser>=/your_user/g'
| xargs -0 sed -i 's/=<defaultUser>=/YOUR_USER/g'
find ~/Repos/nixos/henrovnix \
find ~/Repos/nixos/henrovnix_ok \
-type d -name ".*" -prune -o \
-type f -print0 \
| xargs -0 sed -i 's/machine1/your_hostname/g'
| xargs -0 sed -i 's/machine1/YOUR_HOSTNAME/g'
mv ./machines/machine1 ./machines/your_hostname
mv ./machines/machine1 ./machines/YOUR_HOSTNAME
nixos-generate-config
sudo nixos-rebuild switch --flake .#your_hostname
sudo nixos-rebuild switch --flake .#YOUR_HOSTNAME