From 1767b79e74e86068d8f448cd87e95a40bf4c9477 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 13 Dec 2023 20:24:08 +0100 Subject: [PATCH] explain repl --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e7a32c8..fefad50 100644 --- a/README.md +++ b/README.md @@ -109,8 +109,13 @@ enough](https://sourcegraph.com/search?q=context%3Aglobal+repo%3A%5Egithub%5C.co ```bash nix repl :lf . +# print the value of a configuration settings :p nixosConfigurations.omega.config.services.openssh.ports +# print _why_ the value is as it is (source of defaults, overwrites) +:p nixosConfigurations.omega.options.services.openssh.ports +# print value of home-manager setting :p nixosConfigurations.omega.config.home-manager.users.caspervk.programs.ssh.matchBlocks +# print version of package in nixpkgs :p inputs.nixpkgs.outputs.legacyPackages.x86_64-linux.openssh.version ```