Skip to content

Instantly share code, notes, and snippets.

@shlevy
Created February 20, 2014 16:16
Show Gist options
  • Save shlevy/9117372 to your computer and use it in GitHub Desktop.
Save shlevy/9117372 to your computer and use it in GitHub Desktop.
{ config, ... }:
{
systemd.services.foo = {
serviceConfig.User = "bar";
preStart = "echo ${builtins.trace config.systemd.services.foo.serviceConfig config.systemd.services.foo.serviceConfig.User}";
};
}
$ nix-instantiate -A system nixos/ -I nixos-config=configuration.nix
trace: true
error: value is a boolean while a set was expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment