Skip to content

Debugging

Sometimes you may want to debug the flake. One easy way to do this is to enter the Nix REPL. From there you can load the flake using :lf, and start debugging with nix-select.

Terminal window
nix-repl> :lf
nix-repl> select = (builtins.getFlake "github:clan-lol/select").lib.select
nix-repl> select "*.config.boot.swraid.enable" nixosConfigurations