Skip to content

Commit

Permalink
Add useful nix eval commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Mar 11, 2024
1 parent b82dbf3 commit bf27e2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,20 @@ built:
nixos-version --json
```

See which version of a given package will be installed:

```
$ nix eval .#nixosConfigurations.nuc.pkgs.grafana.version
"10.2.4"
```

Evaluate configuration parameters:

```
$ nix eval .#nixosConfigurations.nuc.config.networking.firewall.allowedTCPPorts
[ 22 80 1883 3000 3100 8022 8080 8081 8300 8301 8302 8500 8600 9000 9080 9090 9093 9100 9883 ]
```

## Router

Linksys WRT ACM-3200 running OpenWRT.
Expand Down

0 comments on commit bf27e2c

Please sign in to comment.