Created preliminary foundation of testing the nix systems by Flakes.

This commit is contained in:
Root User 2026-02-12 15:00:54 +01:00
parent dac2e0b8cf
commit 6a5e8a2dc5
Signed by: root
GPG key ID: 087F0A95E5766D72
12 changed files with 200 additions and 49 deletions

17
copy_pasta.zsh Normal file
View file

@ -0,0 +1,17 @@
export NIX_CONFIG="experimental-features = nix-command flakes"
echo "=== nix --version ==="
nix --version
echo
echo "=== nix flake show ==="
nix flake show .
echo
echo "=== nix eval (raw toplevel) ==="
nix eval --raw .#nixosConfigurations.nixos-local-wireguard-server.config.system.build.toplevel || true
echo
echo "=== nix build --dry-run ==="
nix build --dry-run .#nixosConfigurations.nixos-local-wireguard-server.config.system.build.toplevel || true