Hello,
I’m trying to find a proper command to get the value of an option (e.g. services.xserver.displayManager.sessionCommands
) without evaluating.
I can use nixos-option services.xserver.displayManager.sessionCommands
which results in
nixos-option services.xserver.displayManager.sessionCommands
Value:
''
# start nm-applet
/nix/store/lyv3ix22lfbaqh5sn87cz1ksjhsqr0fg-network-manager-applet-1.22.0/bin/nm-applet &
...
However I’d like the result to be the raw text rather than an evaluated /nix/store
link:
# start nm-applet
${pkgs.networkmanagerapplet}/bin/nm-applet &