nix "state" objects