Created preliminary foundation of testing the nix systems by Flakes.
This commit is contained in:
parent
dac2e0b8cf
commit
6a5e8a2dc5
12 changed files with 200 additions and 49 deletions
17
copy_pasta.zsh
Normal file
17
copy_pasta.zsh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue